@@ -71,10 +71,10 @@ class 댓글_조회_테스트 {
7171 () -> assertThat (response .parentId ()).isNull (),
7272 () -> assertThat (response .content ()).isEqualTo (parentComment .getContent ()),
7373 () -> assertThat (response .isOwner ()).isTrue (),
74- () -> assertThat (response .createdAt ().toLocalDateTime ( ))
75- .isEqualTo (parentComment .getCreatedAt ().toLocalDateTime ( )),
76- () -> assertThat (response .updatedAt ().toLocalDateTime ( ))
77- .isEqualTo (parentComment .getUpdatedAt ().toLocalDateTime ( )),
74+ () -> assertThat (response .createdAt ().withNano ( 0 ))
75+ .isEqualTo (parentComment .getCreatedAt ().withNano ( 0 )),
76+ () -> assertThat (response .updatedAt ().withNano ( 0 ))
77+ .isEqualTo (parentComment .getUpdatedAt ().withNano ( 0 )),
7878
7979 () -> assertThat (response .postFindSiteUserResponse ().id ())
8080 .isEqualTo (parentComment .getSiteUser ().getId ()),
@@ -91,10 +91,10 @@ class 댓글_조회_테스트 {
9191 () -> assertThat (response .parentId ()).isEqualTo (parentComment .getId ()),
9292 () -> assertThat (response .content ()).isEqualTo (childComment .getContent ()),
9393 () -> assertThat (response .isOwner ()).isFalse (),
94- () -> assertThat (response .createdAt ().toLocalDateTime ( ))
95- .isEqualTo (childComment .getCreatedAt ().toLocalDateTime ( )),
96- () -> assertThat (response .updatedAt ().toLocalDateTime ( ))
97- .isEqualTo (childComment .getUpdatedAt ().toLocalDateTime ( )),
94+ () -> assertThat (response .createdAt ().withNano ( 0 ))
95+ .isEqualTo (childComment .getCreatedAt ().withNano ( 0 )),
96+ () -> assertThat (response .updatedAt ().withNano ( 0 ))
97+ .isEqualTo (childComment .getUpdatedAt ().withNano ( 0 )),
9898
9999 () -> assertThat (response .postFindSiteUserResponse ().id ())
100100 .isEqualTo (childComment .getSiteUser ().getId ()),
0 commit comments