Skip to content

Commit

Permalink
fix: 핀 댓글 조회 통합테스트 예외발생하는 문제 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kpeel5839 committed Oct 18, 2023
1 parent 937a63d commit 1232bf7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ void findAllMember() {
.then().log().all()
.extract();

List<MemberResponse> memberResponses = response.as(new TypeRef<>() {
});
List<MemberResponse> memberResponses = response.as(new TypeRef<>() {});

// then
assertThat(response.statusCode()).isEqualTo(HttpStatus.OK.value());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ void findPinCommentPinId_Success() {
.given().log().all()
.header(AUTHORIZATION, authHeader)
.accept(MediaType.APPLICATION_JSON_VALUE)
.when().get("/pins/comments/" + pinId)
.when().get("/pins/ + "+ pinId + "/comments")
.then().log().all()
.extract();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,10 @@ class PinCommandServiceTest extends TestDatabaseContainer {

private Location location;
private Topic topic;
private Member user;
private Member member;
private AuthMember authMember;
private PinCreateRequest createRequest;
private Member user;
private

@BeforeEach
void setUp() {
Expand Down

0 comments on commit 1232bf7

Please sign in to comment.