add more username to uuid lookup tests
Some checks failed
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Failing after 20s
Some checks failed
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Failing after 20s
This commit is contained in:
parent
4a9149e41e
commit
bd09539732
@ -52,6 +52,14 @@ class PlayerControllerTests {
|
||||
.andExpect(jsonPath("$.uuid").value(testPlayerUuid));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void ensurePlayerUsernameToUuidLookupFailure() throws Exception {
|
||||
mockMvc.perform(get("/player/uuid/" + testPlayer)
|
||||
.accept(MediaType.APPLICATION_JSON)
|
||||
.contentType(MediaType.APPLICATION_JSON))
|
||||
.andExpect(status().isNotFound());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void ensurePlayerLookupFailure() throws Exception {
|
||||
mockMvc.perform(get("/player/" + testInvalidPlayer)
|
||||
|
Loading…
Reference in New Issue
Block a user