File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/test/java/com/somemore/recruitboard/service/command Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -86,9 +86,10 @@ void updateRecruitBoard() {
8686
8787 VolunteerInfo volunteerInfo = updatedRecruitBoard .getVolunteerInfo ();
8888 assertThat (volunteerInfo .getRecruitmentCount ()).isEqualTo (dto .recruitmentCount ());
89- assertThat (volunteerInfo .getVolunteerStartDateTime ()).isEqualTo (
90- dto .volunteerStartDateTime ());
91- assertThat (volunteerInfo .getVolunteerEndDateTime ()).isEqualTo (dto .volunteerEndDateTime ());
89+ assertThat (volunteerInfo .getVolunteerStartDateTime ()
90+ .compareTo (dto .volunteerStartDateTime ())).isZero ();
91+ assertThat (volunteerInfo .getVolunteerEndDateTime ()
92+ .compareTo (dto .volunteerEndDateTime ())).isZero ();
9293 assertThat (volunteerInfo .getVolunteerType ()).isEqualTo (dto .volunteerType ());
9394 assertThat (volunteerInfo .getAdmitted ()).isEqualTo (dto .admitted ());
9495 }
You can’t perform that action at this time.
0 commit comments