From 7697259c2582aaa74e723662e2bf15f9a12f3f59 Mon Sep 17 00:00:00 2001 From: Mihaly Lengyel Date: Tue, 1 Oct 2024 01:41:55 +0200 Subject: [PATCH] test: update test expectations to match new node logic --- test/end-to-end/accountlinking.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/end-to-end/accountlinking.test.js b/test/end-to-end/accountlinking.test.js index e676f6eb7..daa974cc6 100644 --- a/test/end-to-end/accountlinking.test.js +++ b/test/end-to-end/accountlinking.test.js @@ -373,7 +373,7 @@ describe("SuperTokens Account linking", function () { assert.strictEqual(new URL(page.url()).pathname, "/auth/"); assert.strictEqual( await getGeneralError(page), - "Cannot sign in / up because new email cannot be applied to existing account. Please contact support. (ERR_CODE_005)" + "Cannot sign in / up due to security reasons. Please try a different login method or contact support. (ERR_CODE_004)" ); });