mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 10:54:51 +00:00
Fixed wrong test
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user