Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nirinchev committed Apr 8, 2022
1 parent 0cc23ea commit f227a99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/configuration_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ Future<void> main([List<String>? args]) async {

const path = "my/path/default.realm";
final explicitPathConfig = Configuration([Car.schema], path: path);
expect(config.path, equals(path));
expect(explicitPathConfig.path, equals(path));
});

test('Configuration get/set schema version', () {
final config = Configuration([Car.schema]);
expect(config.schemaVersion, equals(0));

final explicitSchemaConfig = Configuration([Car.schema], schemaVersion: 3);
expect(config.schemaVersion, equals(3));
expect(explicitSchemaConfig.schemaVersion, equals(3));
});

test('Configuration readOnly - opening non existing realm throws', () {
Expand Down

0 comments on commit f227a99

Please sign in to comment.