mirror of
https://github.com/usbharu/Hideout.git
synced 2026-09-26 15:01:09 +00:00
test: テスト実行前にMongodbをクリアするように
This commit is contained in:
@@ -165,6 +165,9 @@ class MongodbNotificationsApiPaginationTest {
|
||||
fun setupMongodb(
|
||||
@Autowired mongoMastodonNotificationRepository: MongoMastodonNotificationRepository
|
||||
) {
|
||||
|
||||
mongoMastodonNotificationRepository.deleteAll()
|
||||
|
||||
val notifications = (1..65).map {
|
||||
MastodonNotification(
|
||||
it.toLong(),
|
||||
|
||||
Reference in New Issue
Block a user