From d9c7e3bb5b9c336a06dfc2df40b0bd8ada995e1f Mon Sep 17 00:00:00 2001 From: Maximilian Kaske Date: Thu, 24 Sep 2026 11:11:17 +0200 Subject: [PATCH] test(server): plan-gated notification provider answers 403 --- .../rpc/handlers/notification/__tests__/notification.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/server/src/routes/rpc/handlers/notification/__tests__/notification.test.ts b/apps/server/src/routes/rpc/handlers/notification/__tests__/notification.test.ts index a455cf0e..ae738784 100644 --- a/apps/server/src/routes/rpc/handlers/notification/__tests__/notification.test.ts +++ b/apps/server/src/routes/rpc/handlers/notification/__tests__/notification.test.ts @@ -858,7 +858,7 @@ describe("NotificationService.SendTestNotification", () => { { "x-openstatus-key": String(OTHER_WORKSPACE_ID) }, ); - expect(res.status).toBe(429); + expect(res.status).toBe(403); // PermissionDenied, plan gating const data = await res.json(); expect(data.message).toContain("pagerduty"); }); -- 2.51.2