fix tests
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m39s
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m39s
This commit is contained in:
parent
ecca157d86
commit
a47db6d843
@ -30,7 +30,7 @@ class PlayerControllerTests {
|
||||
.accept(MediaType.APPLICATION_JSON)
|
||||
.contentType(MediaType.APPLICATION_JSON))
|
||||
.andExpect(status().isOk())
|
||||
.andExpect(jsonPath("$.player.username").value(testPlayer));
|
||||
.andExpect(jsonPath("$.username").value(testPlayer));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -39,7 +39,7 @@ class PlayerControllerTests {
|
||||
.accept(MediaType.APPLICATION_JSON)
|
||||
.contentType(MediaType.APPLICATION_JSON))
|
||||
.andExpect(status().isOk())
|
||||
.andExpect(jsonPath("$.player.username").value(testPlayer));
|
||||
.andExpect(jsonPath("$.username").value(testPlayer));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -28,7 +28,7 @@ class ServerControllerTests {
|
||||
.accept(MediaType.APPLICATION_JSON)
|
||||
.contentType(MediaType.APPLICATION_JSON))
|
||||
.andExpect(status().isOk())
|
||||
.andExpect(jsonPath("$.server.hostname").value(testServer));
|
||||
.andExpect(jsonPath("$.hostname").value(testServer));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
x
Reference in New Issue
Block a user