From 4715f49a7ef5a23b6c6efb326a7f45575fde5dad Mon Sep 17 00:00:00 2001 From: Pankaj Sha Date: Fri, 27 Dec 2024 23:35:53 +0530 Subject: [PATCH] fix: expectation message as test was failing --- test/integration/onboardingExtension.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/onboardingExtension.test.ts b/test/integration/onboardingExtension.test.ts index 9dcbbcbf7..21561b9fb 100644 --- a/test/integration/onboardingExtension.test.ts +++ b/test/integration/onboardingExtension.test.ts @@ -164,7 +164,7 @@ describe("/requests Onboarding Extension", () => { .end((err, res) => { if (err) return done(err); expect(res.statusCode).to.equal(401); - expect(res.body.error).to.equal("Unauthorized Request"); + expect(res.body.error).to.equal("Unauthorized"); expect(res.body.message).to.equal(UNAUTHORIZED_TO_CREATE_ONBOARDING_EXTENSION_REQUEST); done(); })