Add Noticecontroller Security test 추가

This commit is contained in:
Daeil Choi
2023-02-03 16:27:30 +09:00
parent 89381e7046
commit b531d2ac0e
2 changed files with 109 additions and 1 deletions

View File

@@ -59,7 +59,7 @@ class SampleControllerTest {
@WithMockUser
void access_user() throws Exception {
mvc.perform(
get("/user")
get("/post")
).andExpect(status().isOk());
}