Skip to content

Commit

Permalink
fix: 스크랩 삭제 시 검증하는 상태코드를 noContent 대신 ok로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
amaran-th committed Nov 5, 2023
1 parent 18e8866 commit 9998b29
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ void deleteScrap() throws Exception {
//then
mockMvc.perform(delete("/scraps?event-id={eventId}", eventId)
.header(HttpHeaders.AUTHORIZATION, "Bearer AccessToken"))
.andExpect(status().isNoContent())
.andExpect(status().isOk())
.andDo(document("delete-scrap", SCRAPPED_EVENT_RESPONSE_FIELDS));
}
}

0 comments on commit 9998b29

Please sign in to comment.