Skip to content

Commit 1c5482f

Browse files
committed
CLAP-64 Fixt : JUnit5 버전에 맞는 Assertions 패키지로 수정
1 parent 4a96862 commit 1c5482f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/test/java/clap/server/notification/NotificationServiceTest.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import clap.server.adapter.outbound.persistense.entity.notification.constant.NotificationType;
55
import clap.server.application.port.outbound.notification.LoadNotificationPort;
66
import clap.server.application.service.notification.FindNotificationListService;
7+
import org.junit.jupiter.api.Assertions;
78
import org.junit.jupiter.api.Test;
89
import org.junit.jupiter.api.extension.ExtendWith;
910
import org.mockito.InjectMocks;
@@ -57,10 +58,10 @@ public void testFindNotificationList() {
5758
Page<FindNotificationListResponse> result = findNotificationListService.findNotificationList(1L, pageable);
5859

5960
//Then
60-
assertEquals(3, result.getContent().size());
61+
Assertions.assertEquals(3, result.getContent().size());
6162

62-
assertEquals("VM 생성해주세요", result.getContent().get(0).taskTitle());
63-
assertEquals("VM 생성해주세요", result.getContent().get(1).taskTitle());
64-
assertEquals("VM 생성해주세요", result.getContent().get(2).taskTitle());
63+
Assertions.assertEquals("VM 생성해주세요", result.getContent().get(0).taskTitle());
64+
Assertions.assertEquals("VM 생성해주세요", result.getContent().get(1).taskTitle());
65+
Assertions.assertEquals("VM 생성해주세요", result.getContent().get(2).taskTitle());
6566
}
6667
}

0 commit comments

Comments
 (0)