]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/server/email.ts
Try to fix live test
[github/Chocobozzz/PeerTube.git] / server / tests / api / server / email.ts
index 05c89d2a38b69b4a891f0c136da978df7e738ae4..53f96a94fa17776150572b2accef06f597fbd348 100644 (file)
@@ -279,6 +279,11 @@ describe('Test emails', function () {
       expect(email['subject']).contains(' unblacklisted')
       expect(email['text']).contains('my super user video')
     })
+
+    it('Should have the manage preferences link in the email', async function () {
+      const email = emails[6]
+      expect(email['text']).to.contain('Manage your notification preferences')
+    })
   })
 
   describe('When verifying a user email', function () {