Skip to content

Commit

Permalink
remove info@fizzmod.com from the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelvilche committed Jan 31, 2020
1 parent 0e24af7 commit 44f14f4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/mail-test.js
Expand Up @@ -71,7 +71,7 @@ describe('Mail', () => {
const mail = new Mail();

assert.rejects(mail.setBody('string')
.setTo('info@fizzmod.com')
.setTo('example@example.com')
.setSubject('crazy subject')
.send(),
prepareErrorData(
Expand All @@ -85,7 +85,7 @@ describe('Mail', () => {
const mail = new Mail();

assert.rejects(mail.setBody('string')
.setTo('info@fizzmod.com')
.setTo('example@example.com')
.send(),
prepareErrorData(
MailError.codes.REQUIRED_FIELD_MISSING,
Expand Down Expand Up @@ -253,7 +253,7 @@ describe('Mail', () => {
mail.session = session;

await assert.rejects(() => mail
.setTo('info@fizzmod.com')
.setTo('example@example.com')
.setTemplateCode('template-code')
.send(), microserviceCallError);

Expand All @@ -262,7 +262,7 @@ describe('Mail', () => {
JANIS_MAILING_SERVICE,
JANIS_MAILING_NAMESPACE,
JANIS_MAILING_METHOD,
{ templateCode: 'template-code', to: 'info@fizzmod.com' },
{ templateCode: 'template-code', to: 'example@example.com' },
headers
);
});
Expand Down Expand Up @@ -296,7 +296,7 @@ describe('Mail', () => {
const mail = new Mail();
mail.session = session;
const mailData = mail.setBody('body string to send')
.setTo('info@fizzmod.com')
.setTo('example@example.com')
.setSubject('crazy subject')
.send();

Expand All @@ -307,7 +307,7 @@ describe('Mail', () => {
JANIS_MAILING_SERVICE,
JANIS_MAILING_NAMESPACE,
JANIS_MAILING_METHOD,
{ body: 'body string to send', to: 'info@fizzmod.com', subject: 'crazy subject' },
{ body: 'body string to send', to: 'example@example.com', subject: 'crazy subject' },
headers
);
});
Expand Down

0 comments on commit 44f14f4

Please sign in to comment.