fix getting non-existent team throws exception test
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 2m4s
Pull Request Pipeline / lint (pull_request) Successful in 2m19s

This commit is contained in:
gelbeinhalb
2026-01-21 11:55:15 +01:00
parent f142169371
commit b2a3a0cf75

View File

@@ -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>()),
);
});