Merge branch 'bug/37-getallgames-returnt-nicht-alle-attribute-von-der-game-klasse' into feature/31-json-import-fuer-testdaten
Some checks failed
Pull Request Pipeline / test (pull_request) Failing after 2m21s
Pull Request Pipeline / lint (pull_request) Successful in 2m21s

# Conflicts:
#	test/db_tests/player_test.dart
This commit is contained in:
2025-11-21 14:26:18 +01:00
3 changed files with 6 additions and 6 deletions

View File

@@ -68,7 +68,7 @@ void main() {
});
group('Game Tests', () {
test('Adding and fetching single game works correclty', () async {
test('Adding and fetching single game works correctly', () async {
await database.gameDao.addGame(game: testGame1);
final result = await database.gameDao.getGameById(gameId: testGame1.id);
@@ -185,7 +185,7 @@ void main() {
expect(gameExists, true);
});
test('Deleting a game works correclty', () async {
test('Deleting a game works correctly', () async {
await database.gameDao.addGame(game: testGame1);
final gameDeleted = await database.gameDao.deleteGame(

View File

@@ -129,7 +129,7 @@ void main() {
expect(groupExists, true);
});
test('Deleting a group works correclty', () async {
test('Deleting a group works correctly', () async {
await database.groupDao.addGroup(group: testGroup1);
final groupDeleted = await database.groupDao.deleteGroup(

View File

@@ -35,7 +35,7 @@ void main() {
});
group('Player Tests', () {
test('Adding and fetching single player works correclty', () async {
test('Adding and fetching single player works correctly', () async {
await database.playerDao.addPlayer(player: testPlayer1);
await database.playerDao.addPlayer(player: testPlayer2);
@@ -55,7 +55,7 @@ void main() {
expect(fetchedPlayer2.createdAt, testPlayer2.createdAt);
});
test('Adding and fetching multiple players works correclty', () async {
test('Adding and fetching multiple players works correctly', () async {
await database.playerDao.addPlayers(
players: [testPlayer1, testPlayer2, testPlayer3, testPlayer4],
);
@@ -102,7 +102,7 @@ void main() {
expect(playerExists, true);
});
test('Deleting a player works correclty', () async {
test('Deleting a player works correctly', () async {
await database.playerDao.addPlayer(player: testPlayer1);
final playerDeleted = await database.playerDao.deletePlayer(
playerId: testPlayer1.id,