Skip to content

Commit

Permalink
fix: ClubControllerTest 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
choi5798 committed Oct 24, 2023
1 parent 3bd7044 commit b1c2321
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
13 changes: 0 additions & 13 deletions src/test/java/com/spaceclub/SpaceClubBackendApplicationTests.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
import static org.springframework.restdocs.operation.preprocess.Preprocessors.prettyPrint;
import static org.springframework.restdocs.payload.PayloadDocumentation.fieldWithPath;
import static org.springframework.restdocs.payload.PayloadDocumentation.requestFields;
import static org.springframework.restdocs.payload.PayloadDocumentation.responseBody;
import static org.springframework.restdocs.payload.PayloadDocumentation.responseFields;
import static org.springframework.security.test.web.servlet.request.SecurityMockMvcRequestPostProcessors.csrf;
import static org.springframework.test.web.servlet.result.MockMvcResultHandlers.print;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
Expand Down Expand Up @@ -101,10 +99,7 @@ void deleteClubTest() throws Exception {
.andDo(print())
.andDo(document("club-delete",
preprocessRequest(prettyPrint()),
preprocessResponse(prettyPrint()),
requestFields(
fieldWithPath("requiredInfo").type(JsonFieldType.STRING).description("클럽 생성시 필요한 임시 정보")
)));
preprocessResponse(prettyPrint())));
}


Expand Down

0 comments on commit b1c2321

Please sign in to comment.