Refactoring
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 45s
Pull Request Pipeline / lint (pull_request) Successful in 47s

This commit is contained in:
2026-05-02 01:31:49 +02:00
parent 9e4f44491c
commit 5789650c97
16 changed files with 83 additions and 83 deletions

View File

@@ -253,7 +253,7 @@ void main() {
await database.playerMatchDao.updateMatchPlayers(
matchId: testMatch1.id,
newPlayer: newPlayers,
player: newPlayers,
);
final updatedPlayers = await database.playerMatchDao.getPlayersOfMatch(
@@ -337,7 +337,7 @@ void main() {
final newPlayersList = [testPlayer1, testPlayer2];
await database.playerMatchDao.updateMatchPlayers(
matchId: testMatch1.id,
newPlayer: newPlayersList,
player: newPlayersList,
);
matchPlayers = await database.matchDao.getMatchById(
@@ -356,7 +356,7 @@ void main() {
final updated = await database.playerMatchDao.updateMatchPlayers(
matchId: testMatch1.id,
newPlayer: originalPlayers,
player: originalPlayers,
);
expect(updated, isFalse);
@@ -375,7 +375,7 @@ void main() {
await database.matchDao.addMatch(match: testMatch1);
final updated = await database.playerMatchDao.updateMatchPlayers(
matchId: testMatch1.id,
newPlayer: [],
player: [],
);
expect(updated, isFalse);