Skip to content

Commit

Permalink
[TEST #83] 북마크 삭제 http method 변경에 따른 테스트코드 expect 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
HunSeongPark committed Nov 19, 2023
1 parent 4fa4916 commit 1a616f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ void givenBookmarkId_whenDeleting_thenDeleteBookmark() throws Exception {
mvc.perform(delete("/api/bookmarks/" + bookmarkId)
.with(csrf())
.with(user(new MemberDetails(createMember(1L))))
).andExpect(status().isOk());
).andExpect(status().isNoContent());
}

private Member createMember(Long memberId) {
Expand Down

0 comments on commit 1a616f3

Please sign in to comment.