fix getting non-existent team throws exception test
This commit is contained in:
@@ -253,7 +253,7 @@ void main() {
|
||||
test('Getting non-existent team throws exception', () async {
|
||||
expect(
|
||||
() => database.teamDao.getTeamById(teamId: 'non-existent-id'),
|
||||
throwsA(isA<InvalidDataException>()),
|
||||
throwsA(isA<StateError>()),
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user