Skip to content

Commit 6adde2f

Browse files
committed
fix: /deleteUser base URL to point to app server
1 parent 97a5321 commit 6adde2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/end-to-end/emailverification.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ describe("SuperTokens Email Verification", function () {
674674
]);
675675
await waitForSTElement(page, "[data-supertokens~='sendVerifyEmailIcon']");
676676

677-
await fetch(`${TEST_SERVER_BASE_URL}/deleteUser`, {
677+
await fetch(`${TEST_APPLICATION_SERVER_BASE_URL}/deleteUser`, {
678678
method: "POST",
679679
headers: [["content-type", "application/json"]],
680680
body: JSON.stringify({
@@ -731,7 +731,7 @@ describe("SuperTokens Email Verification", function () {
731731
let pathname = await page.evaluate(() => window.location.pathname);
732732
assert.deepStrictEqual(pathname, "/auth/verify-email");
733733

734-
await fetch(`${TEST_SERVER_BASE_URL}/deleteUser`, {
734+
await fetch(`${TEST_APPLICATION_SERVER_BASE_URL}/deleteUser`, {
735735
method: "POST",
736736
headers: [["content-type", "application/json"]],
737737
body: JSON.stringify({

0 commit comments

Comments
 (0)