From 1ffe7f19bce10ef970a99d609e8d72e5bf9ba272 Mon Sep 17 00:00:00 2001 From: tejaskh3 Date: Sun, 13 Oct 2024 03:58:20 +0530 Subject: [PATCH] fix: failing test case --- test/integration/subscription.test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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(); }); });