From 4bfebc812392341b01fd19d2eea0c7434d924d48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Thu, 11 May 2023 18:45:44 -0400 Subject: [PATCH] test: add email --- test/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/user.js b/test/user.js index 0ca6debc4a..d70da486e9 100644 --- a/test/user.js +++ b/test/user.js @@ -1493,7 +1493,7 @@ describe('User', () => { it('should send digests', async () => { const oldValue = meta.config.includeUnverifiedEmails; meta.config.includeUnverifiedEmails = true; - const uid = await User.create({ username: 'digest' }); + const uid = await User.create({ username: 'digest', email: 'email@test.com' }); await User.digest.execute({ interval: 'day', subscribers: [uid],