Renamed variable
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 2m3s
Pull Request Pipeline / lint (pull_request) Successful in 2m5s

This commit is contained in:
2025-11-22 14:21:55 +01:00
parent 9346f61d14
commit 30645f06f8

View File

@@ -66,7 +66,7 @@ void main() {
expect(allPlayers.length, 4);
// Map for connencting fetched players with expected players
final testPlayer = {
final testPlayers = {
testPlayer1.id: testPlayer1,
testPlayer2.id: testPlayer2,
testPlayer3.id: testPlayer3,
@@ -74,11 +74,11 @@ void main() {
};
for (final player in allPlayers) {
final expectedPlayer = testPlayer[player.id]!;
final testPlayer = testPlayers[player.id]!;
expect(player.id, expectedPlayer.id);
expect(player.name, expectedPlayer.name);
expect(player.createdAt, expectedPlayer.createdAt);
expect(player.id, testPlayer.id);
expect(player.name, testPlayer.name);
expect(player.createdAt, testPlayer.createdAt);
}
});