Skip to content

Commit

Permalink
test: 테스트 실패 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ503 committed Sep 18, 2023
1 parent b2122bf commit dd5a8a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ void setUp(@Autowired RestDocumentationContextProvider provider) {
willDoNothing().given(authenticationService).withdrawal(any(), anyString(), anyString());

// when & then
mockMvc.perform(RestDocumentationRequestBuilders.delete("/oauth2/withdrawal/{oauth2Type}", "kakao")
mockMvc.perform(RestDocumentationRequestBuilders.post("/oauth2/withdrawal/{oauth2Type}", "kakao")
.contentType(MediaType.APPLICATION_JSON)
.content(objectMapper.writeValueAsString(request))
.header(HttpHeaders.AUTHORIZATION, "Bearer accessToken")
Expand Down

0 comments on commit dd5a8a7

Please sign in to comment.