fix tests
Some checks failed
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Failing after 23s
Some checks failed
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Failing after 23s
This commit is contained in:
parent
8216ec7943
commit
b5e8664ad3
@ -30,7 +30,7 @@ class PlayerControllerTests {
|
||||
.accept(MediaType.APPLICATION_JSON)
|
||||
.contentType(MediaType.APPLICATION_JSON))
|
||||
.andExpect(status().isOk())
|
||||
.andExpect(jsonPath("$.username").value(testPlayer));
|
||||
.andExpect(jsonPath("$.player.username").value(testPlayer));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -39,7 +39,7 @@ class PlayerControllerTests {
|
||||
.accept(MediaType.APPLICATION_JSON)
|
||||
.contentType(MediaType.APPLICATION_JSON))
|
||||
.andExpect(status().isOk())
|
||||
.andExpect(jsonPath("$.username").value(testPlayer));
|
||||
.andExpect(jsonPath("$.player.username").value(testPlayer));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -48,8 +48,8 @@ class PlayerControllerTests {
|
||||
.accept(MediaType.APPLICATION_JSON)
|
||||
.contentType(MediaType.APPLICATION_JSON))
|
||||
.andExpect(status().isOk())
|
||||
.andExpect(jsonPath("$.username").value(testPlayer))
|
||||
.andExpect(jsonPath("$.uniqueId").value(testPlayerUuid));
|
||||
.andExpect(jsonPath("$.player.username").value(testPlayer))
|
||||
.andExpect(jsonPath("$.player.uniqueId").value(testPlayerUuid));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
x
Reference in New Issue
Block a user