Fixed test

This commit is contained in:
2025-11-21 12:46:04 +01:00
parent fe9239ee02
commit 229750ffcf

View File

@@ -110,9 +110,9 @@ void main() {
expect(removed, true);
final result = await database.gameDao.getGameById(
gameId: testgameWithGroup.id,
gameId: testgameWithPlayers.id,
);
expect(result.players!.length, testgameWithGroup.players!.length - 1);
expect(result.players!.length, testgameWithPlayers.players!.length - 1);
final playerExists = result.players!.any(
(p) => p.id == playerToRemove.id,