Skip to content

Commit e6beedf

Browse files
committed
test: fix test failure
1 parent a063182 commit e6beedf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/regression/test_002_database_migration_test.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
import 'package:drift_dev/api/migrations_native.dart';
22
import 'package:flutter_test/flutter_test.dart';
3+
import 'package:tsdm_client/instance.dart';
34
import 'package:tsdm_client/shared/providers/storage_provider/models/database/database.dart';
45

56
import '../data/generated_migrations/schema.dart';
67

78
void main() {
9+
setUp(() async {
10+
await initLogger();
11+
});
812
test('upgrade from 1 to 2', () async {
913
final verifier = SchemaVerifier(GeneratedHelper());
1014
final connection = await verifier.startAt(1);

0 commit comments

Comments
 (0)