Skip to content

Commit e40a91f

Browse files
committed
test(NotificationHandler): createdAt null check 추가
1 parent 2844a87 commit e40a91f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/java/com/somemore/notification/handler/NotificationHandlerTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,7 @@ void handle() {
6161
assertThat(savedNotification.getRelatedId()).isEqualTo(456L); // 프론트 요구사항: 123L(봉사신청아이디), 456L(모집글아이디)
6262
assertThat(savedNotification.isRead()).isFalse();
6363
assertThat(savedNotification.getCreatedAt()).isEqualTo(notification.getCreatedAt());
64+
assertThat(savedNotification.getCreatedAt()).isNotNull();
6465
}
66+
6567
}

0 commit comments

Comments
 (0)