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