]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/notifications/moderation-notifications.ts
Do not transcode to an higher bitrate
[github/Chocobozzz/PeerTube.git] / server / tests / api / notifications / moderation-notifications.ts
index 721a445ab99bd817e6da5ed3ede454870595472f..e7aa5d987aaabcf8956a253da4a11cab6132fa4f 100644 (file)
@@ -267,7 +267,7 @@ describe('Test moderation notifications', function () {
       await addAbuseMessage(servers[0].url, servers[0].accessToken, abuseId, message)
       await waitJobs(servers)
 
-      await checkNewAbuseMessage(baseParamsAdmin, abuseId, message, 'admin1@example.com', 'absence')
+      await checkNewAbuseMessage(baseParamsAdmin, abuseId, message, 'admin' + servers[0].internalServerNumber + '@example.com', 'absence')
     })
 
     it('Should send a notification to moderators', async function () {
@@ -277,7 +277,7 @@ describe('Test moderation notifications', function () {
       await addAbuseMessage(servers[0].url, userAccessToken, abuseId2, message)
       await waitJobs(servers)
 
-      await checkNewAbuseMessage(baseParamsAdmin, abuseId2, message, 'admin1@example.com', 'presence')
+      await checkNewAbuseMessage(baseParamsAdmin, abuseId2, message, 'admin' + servers[0].internalServerNumber + '@example.com', 'presence')
     })
 
     it('Should not send a notification to reporter if sent by the reporter', async function () {