2 Commits

Author SHA1 Message Date
gelbeinhalb
12b713bb70 remove skip from test
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 2m0s
Pull Request Pipeline / lint (pull_request) Successful in 2m8s
2026-01-21 12:04:13 +01:00
gelbeinhalb
e55cea0dcc fix missing await 2026-01-21 12:04:00 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -148,7 +148,7 @@ class PlayerMatchDao extends DatabaseAccessor<AppDatabase>
final playersToAdd = newPlayerIdsSet.difference(currentPlayerIds); final playersToAdd = newPlayerIdsSet.difference(currentPlayerIds);
final playersToRemove = currentPlayerIds.difference(newPlayerIdsSet); final playersToRemove = currentPlayerIds.difference(newPlayerIdsSet);
db.transaction(() async { await db.transaction(() async {
// Remove old players // Remove old players
if (playersToRemove.isNotEmpty) { if (playersToRemove.isNotEmpty) {
await (delete(playerMatchTable)..where( await (delete(playerMatchTable)..where(

View File

@@ -838,7 +838,7 @@ void main() {
), ),
throwsA(anything), throwsA(anything),
); );
}, skip: 'Skipped: transaction callback is not awaited in the DAO, causing unhandled error'); });
// Verifies that a player can be in a match without being assigned to a team. // Verifies that a player can be in a match without being assigned to a team.
test('Player can exist in match without team assignment', () async { test('Player can exist in match without team assignment', () async {