Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix test

Chocobozzzec9ff5e8c031
diff --git a/packages/tests/src/shared/notifications.ts b/packages/tests/src/shared/notifications.ts
index eb9ef3e358..99d0349433 100644
--- a/packages/tests/src/shared/notifications.ts
+++ b/packages/tests/src/shared/notifications.ts
@@ -661,7 +661,7 @@ async function checkVideoAutoBlacklistForModerators (options: CheckerBaseParams
function emailNotificationFinder (email: object) {
const text = email['text']
- return text.indexOf(shortUUID) !== -1 && email['text'].indexOf('video-auto-blacklist/list') !== -1
+ return text.indexOf(shortUUID) !== -1 && email['text'].indexOf('moderation/video-blocklist') !== -1
}
await checkNotification({ ...options, notificationChecker, emailNotificationFinder })