Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: test #638

Merged
merged 14 commits into from
Jul 14, 2023
6 changes: 5 additions & 1 deletion test/useridmapping/recipeTests/emailpassword.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,12 +235,16 @@ describe(`userIdMapping with emailpassword: ${printPath(
externalUserId: externalId,
});
// create the password resestToken
let createResetPasswordTokenResponse = await EmailPasswordRecipe.createResetPasswordToken(externalId);
let createResetPasswordTokenResponse = await EmailPasswordRecipe.createResetPasswordToken(
"public",
externalId
);
assert.strictEqual(createResetPasswordTokenResponse.status, "OK");

// reset the password
const newPassword = "newTestPass123";
let resetPasswordUsingTokenResponse = await EmailPasswordRecipe.resetPasswordUsingToken(
"public",
createResetPasswordTokenResponse.token,
newPassword
);
Expand Down
Loading