Fix tests

This commit is contained in:
Aurora Lahtela 2023-03-26 11:45:42 +03:00
parent d7aab58aa1
commit ab3971616d

View File

@ -204,7 +204,7 @@ class PlayerJoinEventConsumerTest {
underTest.onJoinGameServer(join); underTest.onJoinGameServer(join);
waitUntilDatabaseIsDone(database); waitUntilDatabaseIsDone(database);
Set<UserInfo> expected = Set.of(new UserInfo(TestConstants.PLAYER_ONE_UUID, serverUUID, 1234L, false, "play.testjoinaddress.com", false)); Set<UserInfo> expected = Set.of(new UserInfo(TestConstants.PLAYER_ONE_UUID, serverUUID, 1234000L, false, "play.testjoinaddress.com", false));
Set<UserInfo> result = database.query(UserInfoQueries.fetchUserInformationOfUser(TestConstants.PLAYER_ONE_UUID)); Set<UserInfo> result = database.query(UserInfoQueries.fetchUserInformationOfUser(TestConstants.PLAYER_ONE_UUID));
assertEquals(expected, result); assertEquals(expected, result);
} }