diff --git a/packages/server/src/middleware/tests/ensureTenantAppOwnership.spec.js b/packages/server/src/middleware/tests/ensureTenantAppOwnership.spec.js index cd2696c40d..817893681b 100644 --- a/packages/server/src/middleware/tests/ensureTenantAppOwnership.spec.js +++ b/packages/server/src/middleware/tests/ensureTenantAppOwnership.spec.js @@ -59,7 +59,10 @@ describe("Ensure Tenant Ownership Middleware", () => { await config.executeMiddleware() expect(utils.getAppIdFromCtx).toHaveBeenCalledWith(config.ctx) - expect(config.throw).toHaveBeenCalledWith(403, "App does not belong to tenant") + expect(config.throw).toHaveBeenCalledWith( + 403, + "App does not belong to tenant" + ) }) it("throws 400 when appId is missing", async () => {