mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Add coveralls step
This commit is contained in:
parent
fe3c298f86
commit
96ae1be3ec
2 changed files with 6 additions and 7 deletions
|
|
@ -2,18 +2,14 @@
|
|||
* Unit tests for the API class
|
||||
*/
|
||||
|
||||
import 'package:test/test.dart';
|
||||
|
||||
import 'package:inventree/api.dart';
|
||||
import 'package:inventree/user_profile.dart';
|
||||
import "package:test/test.dart";
|
||||
import "package:inventree/user_profile.dart";
|
||||
|
||||
void main() {
|
||||
|
||||
setUp(() async {
|
||||
// Ensure we have a user profile available
|
||||
// This profile will match the dockerized InvenTree setup, running locally
|
||||
|
||||
print("Creating user profile");
|
||||
await UserProfileDBManager().addProfile(UserProfile(
|
||||
username: "testuser",
|
||||
password: "testpassword""",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue