aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/notifications/moderation-notifications.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/notifications/moderation-notifications.ts')
-rw-r--r--server/tests/api/notifications/moderation-notifications.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/notifications/moderation-notifications.ts b/server/tests/api/notifications/moderation-notifications.ts
index 721a445ab..e7aa5d987 100644
--- a/server/tests/api/notifications/moderation-notifications.ts
+++ b/server/tests/api/notifications/moderation-notifications.ts
@@ -267,7 +267,7 @@ describe('Test moderation notifications', function () {
267 await addAbuseMessage(servers[0].url, servers[0].accessToken, abuseId, message) 267 await addAbuseMessage(servers[0].url, servers[0].accessToken, abuseId, message)
268 await waitJobs(servers) 268 await waitJobs(servers)
269 269
270 await checkNewAbuseMessage(baseParamsAdmin, abuseId, message, 'admin1@example.com', 'absence') 270 await checkNewAbuseMessage(baseParamsAdmin, abuseId, message, 'admin' + servers[0].internalServerNumber + '@example.com', 'absence')
271 }) 271 })
272 272
273 it('Should send a notification to moderators', async function () { 273 it('Should send a notification to moderators', async function () {
@@ -277,7 +277,7 @@ describe('Test moderation notifications', function () {
277 await addAbuseMessage(servers[0].url, userAccessToken, abuseId2, message) 277 await addAbuseMessage(servers[0].url, userAccessToken, abuseId2, message)
278 await waitJobs(servers) 278 await waitJobs(servers)
279 279
280 await checkNewAbuseMessage(baseParamsAdmin, abuseId2, message, 'admin1@example.com', 'presence') 280 await checkNewAbuseMessage(baseParamsAdmin, abuseId2, message, 'admin' + servers[0].internalServerNumber + '@example.com', 'presence')
281 }) 281 })
282 282
283 it('Should not send a notification to reporter if sent by the reporter', async function () { 283 it('Should not send a notification to reporter if sent by the reporter', async function () {