Skip to content

Commit

Permalink
test: 테스트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Choi-JJunho committed Sep 12, 2023
1 parent 704944a commit f300e3b
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class 페이지_정상_호출_ {
mockMvc.perform(get("/admin")
.session(session))
.andExpect(status().isOk())
.andExpect(view().name("/admin/index"))
.andExpect(view().name("admin/index"))
.andDo(print());
}

Expand All @@ -76,7 +76,7 @@ class 페이지_정상_호출_ {
mockMvc.perform(get("/admin/login")
.session(session))
.andExpect(status().isOk())
.andExpect(view().name("/admin/login"))
.andExpect(view().name("admin/login"))
.andDo(print());
}

Expand All @@ -88,7 +88,7 @@ class 페이지_정상_호출_ {
mockMvc.perform(get("/admin/dict")
.session(session))
.andExpect(status().isOk())
.andExpect(view().name("/admin/dict/list"))
.andExpect(view().name("admin/dict/list"))
.andDo(print());
}

Expand All @@ -100,7 +100,7 @@ class 페이지_정상_호출_ {
mockMvc.perform(get("/admin/dict/1")
.session(session))
.andExpect(status().isOk())
.andExpect(view().name("/admin/dict/plant"))
.andExpect(view().name("admin/dict/plant"))
.andDo(print());
}

Expand All @@ -109,7 +109,7 @@ class 페이지_정상_호출_ {
mockMvc.perform(get("/admin/dict/create")
.session(session))
.andExpect(status().isOk())
.andExpect(view().name("/admin/dict/create"))
.andExpect(view().name("admin/dict/create"))
.andDo(print());
}

Expand All @@ -125,7 +125,7 @@ class 페이지_정상_호출_ {
.content(objectMapper.writeValueAsString(request))
.contentType(MediaType.APPLICATION_JSON))
.andExpect(status().isOk())
.andExpect(view().name("/admin/dict/update"))
.andExpect(view().name("admin/dict/update"))
.andDo(print());
}

Expand All @@ -135,7 +135,7 @@ class 페이지_정상_호출_ {
.session(session)
)
.andExpect(status().isOk())
.andExpect(view().name("/admin/dict/requests"))
.andExpect(view().name("admin/dict/requests"))
.andDo(print());
}
}
Expand Down

0 comments on commit f300e3b

Please sign in to comment.