Skip to content

Commit

Permalink
Fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
mkSpace committed May 17, 2024
1 parent 62a8b26 commit 67f59eb
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ class GoalProofApplicationServiceTest : ApplicationServiceTestSupport {
.isInstanceOf(GoalProofRetrieveResponse::class.java)
assertThat(response.goalId).isEqualTo(goalEntity.id)
assertThat(response.userId).isEqualTo(userEntity.id)
assertThat(response.url).isEqualTo(goalProofImageUrl)
assertThat(response.comment).isEqualTo(comment)
assertThat(response.url).isEqualTo(goalProofImageUrl.value)
assertThat(response.comment).isEqualTo(comment.value)
}

@DisplayName("같은 날짜에 대한 인증이 이미 생성되어있다면 다짐 인증을 생성할 수 없다.")
Expand Down Expand Up @@ -158,8 +158,8 @@ class GoalProofApplicationServiceTest : ApplicationServiceTestSupport {
assertThat(response.id).isEqualTo(goalProofEntity.id)
assertThat(response.goalId).isEqualTo(goalEntity.id)
assertThat(response.userId).isEqualTo(userEntity.id)
assertThat(response.url).isEqualTo(goalProofImageUrl)
assertThat(response.comment).isEqualTo(comment)
assertThat(response.url).isEqualTo(goalProofImageUrl.value)
assertThat(response.comment).isEqualTo(comment.value)
}

@DisplayName("다짐 인증 단건 조회 시 해당하지 않은 id로 조회할 경우 조회에 실패한다.")
Expand Down

0 comments on commit 67f59eb

Please sign in to comment.