From 3aa764802fc972d4aa3b93c2474a0213ef95093f Mon Sep 17 00:00:00 2001 From: Konstantin Wohlwend Date: Mon, 13 Apr 2026 14:17:00 -0700 Subject: [PATCH] Fix tests --- .../api/v1/auth/oauth/callback.test.ts | 29 ++++---- .../api/v1/auth/oauth/merge-strategy.test.ts | 72 +++++++++---------- claude/CLAUDE-KNOWLEDGE.md | 3 + 3 files changed, 52 insertions(+), 52 deletions(-) diff --git a/apps/e2e/tests/backend/endpoints/api/v1/auth/oauth/callback.test.ts b/apps/e2e/tests/backend/endpoints/api/v1/auth/oauth/callback.test.ts index 52e7b3ecd..eaf09429f 100644 --- a/apps/e2e/tests/backend/endpoints/api/v1/auth/oauth/callback.test.ts +++ b/apps/e2e/tests/backend/endpoints/api/v1/auth/oauth/callback.test.ts @@ -48,20 +48,21 @@ it("should fail when account is new and sign ups are disabled", async ({ expect cookie, }, }); - expect(response).toMatchInlineSnapshot(` - NiceResponse { - "status": 400, - "body": { - "code": "SIGN_UP_NOT_ENABLED", - "error": "Creation of new accounts is not enabled for this project. Please ask the project owner to enable it.", - }, - "headers": Headers { - "set-cookie": ' at path '/'>, - "x-stack-known-error": "SIGN_UP_NOT_ENABLED", -