We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f888ce2 commit d69fbc7Copy full SHA for d69fbc7
1 file changed
src/test/java/io/github/talelin/merak/controller/cms/AdminControllerTest.java
@@ -447,7 +447,7 @@ public void removePermissions() throws Exception {
447
mvc.perform(post("/cms/admin/permission/remove")
448
.contentType(MediaType.APPLICATION_JSON).content(content))
449
.andDo(print())
450
- .andExpect(status().isCreated())
+ .andExpect(status().isOk())
451
.andExpect(MockMvcResultMatchers.jsonPath("$.message").value("删除权限成功"));
452
}
453
0 commit comments