Skip to content

Commit

Permalink
CCMSPUI-530 fixed NotificationRepositoryIntegrationTest
Browse files Browse the repository at this point in the history
Signed-off-by: Jamie Briggs <jamie.briggs@digital.justice.gov.uk>
  • Loading branch information
Jamie Briggs committed Feb 11, 2025
1 parent 73176f5 commit d3ea4a1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import static org.junit.jupiter.api.Assertions.assertEquals;

import java.time.LocalDate;
import java.time.LocalDateTime;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
Expand Down Expand Up @@ -98,7 +99,7 @@ public void shouldReturnNotificationWithNotes(){
NotificationNote note = result.getNotes().getFirst();
assertEquals(1, note.getNoteId());
assertEquals(1, note.getNotificationId());
assertEquals(LocalDate.of(2025, 1, 1), note.getNoteDate());
assertEquals(LocalDateTime.of(2025, 1, 1, 0,0,0,0), note.getNoteDate());
assertEquals("Here is the body of text for this note", note.getNoteText());
assertEquals("Jamie Briggs", note.getNoteBy());
}
Expand Down

0 comments on commit d3ea4a1

Please sign in to comment.