From ec9ff5e8c03168fc831bd203637e08f992df3f28 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 11 Dec 2024 15:05:29 +0100 Subject: [PATCH] Fix test --- packages/tests/src/shared/notifications.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tests/src/shared/notifications.ts b/packages/tests/src/shared/notifications.ts index eb9ef3e35..99d034943 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 })