build: 参数校验assert

This commit is contained in:
CaptainB 2023-05-19 13:58:14 +08:00
parent 463c46bb19
commit e971d1e55b
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public class UserControllerTests {
.contentType(MediaType.APPLICATION_JSON))
.andExpect(status().isBadRequest())
.andExpect(content().contentType(MediaType.APPLICATION_JSON))
.andExpect(jsonPath("$.code").value("40000"))
.andExpect(jsonPath("$.code").value("100400"))
.andDo(print());
}