Skip to content

Commit

Permalink
Fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Pelayori committed Apr 27, 2024
1 parent a168aac commit 2cfe550
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/test/java/com/uniovi/Wiq_UnitTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -1621,24 +1621,6 @@ public void testGetPlayersWithScores() {
Assertions.assertEquals(2, result.size());
}

@Test
@Order(98)
public void testMultiCreate() throws IOException, InterruptedException {
insertSomeQuestions();
// Given
Long playerId = 1L;
Player player = createPlayer();
player.setId(playerId);

String code = "123";
playerRepository.findById(playerId);
multiplayerSessionService.multiCreate(code, playerId);

MultiplayerSession ms = multiplayerSessionRepository.findByMultiplayerCode("123");
Assertions.assertNotNull(ms);
Assertions.assertEquals("123",ms.getMultiplayerCode());
}

@Test
@Order(99)
public void testAddToLobby() {
Expand Down

0 comments on commit 2cfe550

Please sign in to comment.