mailer: do not send notifications to fallback email

This commit is contained in:
Girish Ramakrishnan
2018-05-30 09:21:18 -07:00
parent 371f81b980
commit ca500e2165
2 changed files with 16 additions and 17 deletions
+3 -3
View File
@@ -123,7 +123,7 @@ describe('digest', function () {
digest.maybeSend(function (error) {
if (error) return done(error);
checkMails(1, `${USER_0.fallbackEmail}, ${USER_0.email}`, done);
checkMails(1, `${USER_0.email}`, done);
});
});
@@ -133,7 +133,7 @@ describe('digest', function () {
digest.maybeSend(function (error) {
if (error) return done(error);
checkMails(1, `${USER_0.fallbackEmail}, ${USER_0.email}`, done);
checkMails(1, `${USER_0.email}`, done);
});
});
@@ -146,7 +146,7 @@ describe('digest', function () {
digest.maybeSend(function (error) {
if (error) return done(error);
checkMails(1, `${USER_0.fallbackEmail}, ${USER_0.email}`, done);
checkMails(1, `${USER_0.email}`, done);
});
});
});