Removed unnecessary id declarations in tests

This commit is contained in:
2025-11-18 20:10:29 +01:00
parent 282841ecf1
commit c0ff2bf677
3 changed files with 16 additions and 29 deletions

View File

@@ -17,7 +17,7 @@ void main() {
),
);
testPlayer = Player(id: 'test_id', name: 'Test Player');
testPlayer = Player(name: 'Test Player');
});
tearDown(() async {
await database.close();
@@ -25,7 +25,7 @@ void main() {
group('player tests', () {
test('all players get fetched correctly', () async {
final testPlayer2 = Player(id: 'gr2', name: 'Second Group');
final testPlayer2 = Player(name: 'Second Group');
await database.playerDao.addPlayer(player: testPlayer);
await database.playerDao.addPlayer(player: testPlayer2);