From 6059577c6d3eac55e4fa7dabcb9c58086799fdbd Mon Sep 17 00:00:00 2001 From: sanghee0820 Date: Fri, 15 Nov 2024 17:53:30 +0900 Subject: [PATCH] =?UTF-8?q?[test]=20Admin=20=ED=8E=98=EC=9D=B4=EC=A7=80=20?= =?UTF-8?q?=ED=97=88=EC=9A=A9=EC=9C=BC=EB=A1=9C=20=EC=9D=B8=ED=95=B4=20=20?= =?UTF-8?q?displayname=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/team7/inplace/security/config/SecurityConfigTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/java/team7/inplace/security/config/SecurityConfigTest.java b/src/test/java/team7/inplace/security/config/SecurityConfigTest.java index 2e3f016d..23f6a66b 100644 --- a/src/test/java/team7/inplace/security/config/SecurityConfigTest.java +++ b/src/test/java/team7/inplace/security/config/SecurityConfigTest.java @@ -22,6 +22,7 @@ class SecurityConfigTest { private MockMvc mockMvc; @Test + @DisplayName("모두 허용으로 인해 실패하는 테스트 입니다.") @WithMockUser(roles = "USER") void testAdminEndpoints() throws Exception { mockMvc.perform(get("/admin/video")) @@ -37,6 +38,7 @@ void testAdminEndpoints() throws Exception { } @Test + @DisplayName("모두 허용으로 인해 실패하는 테스트 입니다.") @WithAnonymousUser void testAnonymousEndpoints() throws Exception { mockMvc.perform(get("/admin/video"))