Skip to content

Commit

Permalink
test: remove deprecated failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
esarbanis committed Aug 23, 2019
1 parent 15a939b commit dfc249c
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions test/src/migration_config_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,4 @@ void main() {
'message', equals('The migrationScripts cannot be null.'))));
});

test('should throw assertion when initializationScript is empty', () async {
expect(
() => MigrationConfig(
initializationScript: [], migrationScripts: populatedScript),
throwsA(TypeMatcher<AssertionError>().having((e) => e.message,
'message', contains('The initializationScript cannot be empty.'))));
});

test('should throw assertion when migrationScript is empty', () async {
expect(
() => MigrationConfig(
initializationScript: populatedScript, migrationScripts: []),
throwsA(TypeMatcher<AssertionError>().having((e) => e.message,
'message', equals('The migrationScripts cannot be empty.'))));
});
}

0 comments on commit dfc249c

Please sign in to comment.