diff --git a/test/integration/subscription.test.js b/test/integration/subscription.test.js index 2cefcce6f..66d652287 100644 --- a/test/integration/subscription.test.js +++ b/test/integration/subscription.test.js @@ -107,8 +107,7 @@ describe("/subscription email notifications", function () { .end((err, res) => { if (err) return done(err); expect(res).to.have.status(500); - expect(res.body).to.have.property("message", "Failed to send email"); - expect(res.body).to.have.property("error"); + expect(res.body).to.have.property("message", "An internal server error occurred"); return done(); }); });