Skip to content

Commit

Permalink
style : 메소드명 오타 수정 (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
AHNYUNKI committed Mar 28, 2024
1 parent 3bd9655 commit ee66cb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public ApiResponse<Void> likeTalkRoom(@PathVariable Long talkRoomId,
}

@DeleteMapping("/talk-rooms/{talkRoomId}/likes")
public ApiResponse<Void> nuLikeTalkRoom(@PathVariable Long talkRoomId,
public ApiResponse<Void> unLikeTalkRoom(@PathVariable Long talkRoomId,
@Auth AuthContext authContext) {
talkRoomLikeService.unLikeTalkRoom(talkRoomId, authContext.getUserId());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void likeTalkRoom() throws Exception {

@Test
@DisplayName("유저가 의견에 좋아요를 취소할 수 있다")
void nuLikeTalkRoom() throws Exception {
void unLikeTalkRoom() throws Exception {
// when // then
mockMvc.perform(delete("/v1/comments/1/likes")
.contentType(APPLICATION_JSON)
Expand Down

0 comments on commit ee66cb1

Please sign in to comment.