Skip to content

Commit

Permalink
test: fix react 16 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus committed Oct 4, 2024
1 parent 9f1060b commit 09d1819
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/end-to-end/signin-rrdv5.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ describe("SuperTokens SignIn with react router dom v5", function () {
assert.strictEqual(request.headers().rid, "emailpassword");
assert.strictEqual(
request.postData(),
'{"formFields":[{"id":"email","value":"[email protected]"},{"id":"password","value":"********"}]}'
'{"formFields":[{"id":"email","value":"[email protected]"},{"id":"password","value":"********"}],"shouldTryLinkingWithSessionUser":false}'
);

assert.strictEqual(response.status, "WRONG_CREDENTIALS_ERROR");
Expand Down Expand Up @@ -272,7 +272,7 @@ describe("SuperTokens SignIn with react router dom v5", function () {
assert.strictEqual(request.headers().rid, "emailpassword");
assert.strictEqual(
request.postData(),
'{"formFields":[{"id":"email","value":"[email protected]"},{"id":"password","value":"Str0ngP@ssw0rd"}]}'
'{"formFields":[{"id":"email","value":"[email protected]"},{"id":"password","value":"Str0ngP@ssw0rd"}],"shouldTryLinkingWithSessionUser":false}'
);

assert.strictEqual(response.status, "OK");
Expand Down

0 comments on commit 09d1819

Please sign in to comment.