Fixed wrong test

This commit is contained in:
Bas de Jong
2025-10-07 19:55:23 +02:00
parent 3c385e27b0
commit ed3cb902e4

View File

@@ -35,10 +35,10 @@ class NetworkEventsTest {
@Test @Test
void testChallengeResponse() { void testChallengeResponse() {
NetworkEvents.ChallengeResponse event = NetworkEvents.ChallengeResponse event =
new NetworkEvents.ChallengeResponse(1L, "Alice", "Chess", "ch001"); new NetworkEvents.ChallengeResponse(1L, "John", "1", "tic-tac-toe");
assertEquals("Alice", event.challengerName()); assertEquals("John", event.challengerName());
assertEquals("Chess", event.gameType()); assertEquals("1", event.challengeId());
assertEquals("ch001", event.challengeId()); assertEquals("tic-tac-toe", event.gameType());
} }
@Test @Test