We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7db97bc commit fc0fb3eCopy full SHA for fc0fb3e
1 file changed
src/test/java/com/example/solidconnection/community/comment/service/CommentServiceTest.java
@@ -71,8 +71,8 @@ class 댓글_조회_테스트 {
71
() -> assertThat(response.parentId()).isNull(),
72
() -> assertThat(response.content()).isEqualTo(parentComment.getContent()),
73
() -> assertThat(response.isOwner()).isTrue(),
74
-// () -> assertThat(response.createdAt()).isEqualTo(parentComment.getCreatedAt()),
75
-// () -> assertThat(response.updatedAt()).isEqualTo(parentComment.getUpdatedAt()),
+ () -> assertThat(response.createdAt().toInstant()).isEqualTo(parentComment.getCreatedAt().toInstant()),
+ () -> assertThat(response.updatedAt().toInstant()).isEqualTo(parentComment.getUpdatedAt().toInstant()),
76
77
() -> assertThat(response.postFindSiteUserResponse().id())
78
.isEqualTo(parentComment.getSiteUser().getId()),
0 commit comments