Skip to content

Commit

Permalink
fix: failing test case
Browse files Browse the repository at this point in the history
  • Loading branch information
tejaskh3 committed Oct 12, 2024
1 parent 7a6c4ff commit 1ffe7f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/integration/subscription.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
});
Expand Down

0 comments on commit 1ffe7f1

Please sign in to comment.