Skip to content

Commit

Permalink
[Fix] status 응답 변수명 변경으로 인한 테스트 오류 해결 (#183)
Browse files Browse the repository at this point in the history
* #182 - fix: status 응답 변수명 변경으로 인한 테스트 오류 해결 (#183)
  • Loading branch information
morenow98 authored Feb 21, 2024
1 parent d3594d0 commit 472511e
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 @@ -291,7 +291,7 @@ void givenPostIdWithLogin_whenGettingMyPrivatePost_thenReturnPostResponse() thro
mockMvc.perform(get("/posts/11")
.contentType(MediaType.APPLICATION_JSON))
.andExpect(status().isOk())
.andExpect(jsonPath("$.postStatus").value("PRIVATE"))
.andExpect(jsonPath("$.status").value("PRIVATE"))
;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ void givenReviewIdWithLogin_whenGettingMyPrivateReview_thenReturnReviewResponse(
mockMvc.perform(get("/reviews/8")
.contentType(MediaType.APPLICATION_JSON))
.andExpect(status().isOk())
.andExpect(jsonPath("$.reviewStatus").value("PRIVATE"))
.andExpect(jsonPath("$.status").value("PRIVATE"))
;
}

Expand Down

0 comments on commit 472511e

Please sign in to comment.