getAllGames returnt nicht alle Attribute von der game Klasse #45

Merged
flixcoo merged 20 commits from bug/37-getallgames-returnt-nicht-alle-attribute-von-der-game-klasse into development 2025-11-22 15:22:11 +00:00
Showing only changes of commit 229750ffcf - Show all commits

View File

@@ -110,9 +110,9 @@ void main() {
expect(removed, true); expect(removed, true);
final result = await database.gameDao.getGameById( 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( final playerExists = result.players!.any(
(p) => p.id == playerToRemove.id, (p) => p.id == playerToRemove.id,