Skip to content

Commit

Permalink
[test] Admin 페이지 허용으로 인해 displayname 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
sanghee0820 authored Nov 15, 2024
1 parent 4c96693 commit 6059577
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class SecurityConfigTest {
private MockMvc mockMvc;

@Test
@DisplayName("모두 허용으로 인해 실패하는 테스트 입니다.")
@WithMockUser(roles = "USER")
void testAdminEndpoints() throws Exception {
mockMvc.perform(get("/admin/video"))
Expand All @@ -37,6 +38,7 @@ void testAdminEndpoints() throws Exception {
}

@Test
@DisplayName("모두 허용으로 인해 실패하는 테스트 입니다.")
@WithAnonymousUser
void testAnonymousEndpoints() throws Exception {
mockMvc.perform(get("/admin/video"))
Expand Down

0 comments on commit 6059577

Please sign in to comment.