@@ -44,7 +44,7 @@ void setUp() {
4444 }
4545
4646 @ Test
47- @ DisplayName ("[성공] 모임원 아이디로 모임원을 삭제한다 " )
47+ @ DisplayName ("[성공] 방장은 자신의 모임에서 모임원을 강퇴할 수 있다. " )
4848 void block_success () throws Exception {
4949
5050 UpdateCrewMemberRequest updateCrewMemberRequest = new UpdateCrewMemberRequest (savedUser1Id );
@@ -58,12 +58,12 @@ void block_success() throws Exception {
5858 .accept (APPLICATION_JSON ))
5959 .andExpect (status ().isOk ())
6060 .andDo (print ())
61- .andDo (document ("crewMember-deleteById " ,
61+ .andDo (document ("crewMember-block " ,
6262 resource (
6363 builder ()
6464 .tag (CREW_MEMBER )
65- .summary ("모임원 아이디로 모임원 삭제 API" )
66- .description ("모임원 아이디로 모임원을 삭제합니다 ." )
65+ .summary ("모임원 강퇴 API" )
66+ .description ("방장이 자신의 모임에서 모임원을 강퇴합니다. 어떤 모임인지 알기위해 모임아이디가 필요합니다 ." )
6767 .pathParameters (
6868 parameterWithName ("crewId" ).description ("모임 아이디" ))
6969 .build ()
@@ -72,7 +72,7 @@ void block_success() throws Exception {
7272 }
7373
7474 @ Test
75- @ DisplayName ("[성공] 모임원 아이디로 모임원을 삭제한다 " )
75+ @ DisplayName ("[성공] 사용자가 모임 아이디의 모임의 방을 나갈 수 있다. " )
7676 void delete_success () throws Exception {
7777
7878 mockMvc .perform (delete ("/api/v1/crews/{crewId}/crewMembers" , crewId )
@@ -84,8 +84,8 @@ void delete_success() throws Exception {
8484 resource (
8585 builder ()
8686 .tag (CREW_MEMBER )
87- .summary ("모임원 아이디로 모임원 삭제 API" )
88- .description ("모임원 아이디로 모임원을 삭제합니다 ." )
87+ .summary ("방 나가기 API" )
88+ .description ("방을 나가면 해당 모임원에서 삭제된다 ." )
8989 .pathParameters (
9090 parameterWithName ("crewId" ).description ("모임 아이디" ))
9191 .build ()
0 commit comments