From a3518ddf5323c210ee133ee508317f4092767577 Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Wed, 31 Jan 2024 15:05:00 +0900 Subject: [PATCH] =?UTF-8?q?test:=20=E3=83=86=E3=82=B9=E3=83=88=E5=AE=9F?= =?UTF-8?q?=E8=A1=8C=E5=89=8D=E3=81=ABMongodb=E3=82=92=E3=82=AF=E3=83=AA?= =?UTF-8?q?=E3=82=A2=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../notifications/MongodbNotificationsApiPaginationTest.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/intTest/kotlin/mastodon/notifications/MongodbNotificationsApiPaginationTest.kt b/src/intTest/kotlin/mastodon/notifications/MongodbNotificationsApiPaginationTest.kt index f8eb566e..b2e6cff0 100644 --- a/src/intTest/kotlin/mastodon/notifications/MongodbNotificationsApiPaginationTest.kt +++ b/src/intTest/kotlin/mastodon/notifications/MongodbNotificationsApiPaginationTest.kt @@ -165,6 +165,9 @@ class MongodbNotificationsApiPaginationTest { fun setupMongodb( @Autowired mongoMastodonNotificationRepository: MongoMastodonNotificationRepository ) { + + mongoMastodonNotificationRepository.deleteAll() + val notifications = (1..65).map { MastodonNotification( it.toLong(),