Skip to content

Commit d4b7e57

Browse files
author
Rishabh
committed
fixes a few tests
1 parent d13683e commit d4b7e57

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

test/thirdpartypasswordless/api.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ describe(`apisFunctions: ${printPath("[test/thirdpartypasswordless/apis.test.js]
570570
assert(emailUserInputCodeResponse.status === "OK");
571571

572572
// add users phoneNumber to userInfo
573-
await ThirdPartyPasswordless.updateUser({
573+
await ThirdPartyPasswordless.updatePasswordlessUser({
574574
userId: emailUserInputCodeResponse.user.id,
575575
phoneNumber: "+12345678901",
576576
});

test/thirdpartypasswordless/recipeFunctions.test.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ describe(`recipeFunctions: ${printPath("[test/thirdpartypasswordless/recipeFunct
581581
});
582582
{
583583
// update users email
584-
let response = await ThirdPartyPasswordless.updateUser({
584+
let response = await ThirdPartyPasswordless.updatePasswordlessUser({
585585
userId: userInfo.user.id,
586586
587587
});
@@ -593,7 +593,7 @@ describe(`recipeFunctions: ${printPath("[test/thirdpartypasswordless/recipeFunct
593593
}
594594
{
595595
// update user with invalid userId
596-
let response = await ThirdPartyPasswordless.updateUser({
596+
let response = await ThirdPartyPasswordless.updatePasswordlessUser({
597597
userId: "invalidUserId",
598598
599599
});
@@ -606,7 +606,7 @@ describe(`recipeFunctions: ${printPath("[test/thirdpartypasswordless/recipeFunct
606606
607607
});
608608

609-
let result = await ThirdPartyPasswordless.updateUser({
609+
let result = await ThirdPartyPasswordless.updatePasswordlessUser({
610610
userId: userInfo2.user.id,
611611
612612
});
@@ -654,7 +654,7 @@ describe(`recipeFunctions: ${printPath("[test/thirdpartypasswordless/recipeFunct
654654

655655
{
656656
// update users email
657-
let response = await ThirdPartyPasswordless.updateUser({
657+
let response = await ThirdPartyPasswordless.updatePasswordlessUser({
658658
userId: userInfo.user.id,
659659
phoneNumber: phoneNumber_2,
660660
});
@@ -670,7 +670,7 @@ describe(`recipeFunctions: ${printPath("[test/thirdpartypasswordless/recipeFunct
670670
phoneNumber: phoneNumber_3,
671671
});
672672

673-
let result = await ThirdPartyPasswordless.updateUser({
673+
let result = await ThirdPartyPasswordless.updatePasswordlessUser({
674674
userId: userInfo2.user.id,
675675
phoneNumber: phoneNumber_2,
676676
});

0 commit comments

Comments
 (0)