fix felix typos :)

This commit is contained in:
gelbeinhalb
2026-01-19 14:57:19 +01:00
parent 715b3debbb
commit 764ce13240
5 changed files with 23 additions and 23 deletions

View File

@@ -63,7 +63,7 @@ void main() {
final allPlayers = await database.playerDao.getAllPlayers();
expect(allPlayers.length, 4);
// Map for connencting fetched players with expected players
// Map for connecting fetched players with expected players
final testPlayers = {
testPlayer1.id: testPlayer1,
testPlayer2.id: testPlayer2,
@@ -115,12 +115,12 @@ void main() {
expect(playerExists, false);
});
test('Updating a player name works correcly', () async {
test('Updating a player name works correctly', () async {
await database.playerDao.addPlayer(player: testPlayer1);
const newPlayerName = 'new player name';
await database.playerDao.updatePlayername(
await database.playerDao.updatePlayerName(
playerId: testPlayer1.id,
newName: newPlayerName,
);