-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
19a13bf
commit 4989a8f
Showing
3 changed files
with
15 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -140,7 +140,7 @@ async def test_email_verify_default_backward_compatibility( | |
start_st() | ||
|
||
resp = await manually_create_or_update_user( | ||
"public", "supertokens", "test-user-id", "[email protected]", True, None | ||
"public", "supertokens", "test-user-id", "[email protected]", False, None | ||
) | ||
|
||
s = SessionRecipe.get_instance() | ||
|
@@ -214,7 +214,7 @@ async def test_email_verify_default_backward_compatibility_supress_error( | |
start_st() | ||
|
||
resp = await manually_create_or_update_user( | ||
"public", "supertokens", "test-user-id", "[email protected]", True, None | ||
"public", "supertokens", "test-user-id", "[email protected]", False, None | ||
) | ||
|
||
s = SessionRecipe.get_instance() | ||
|
@@ -304,7 +304,7 @@ async def send_email( | |
start_st() | ||
|
||
resp = await manually_create_or_update_user( | ||
"public", "supertokens", "test-user-id", "[email protected]", True, None | ||
"public", "supertokens", "test-user-id", "[email protected]", False, None | ||
) | ||
|
||
s = SessionRecipe.get_instance() | ||
|
@@ -382,7 +382,7 @@ async def send_email( | |
start_st() | ||
|
||
resp = await manually_create_or_update_user( | ||
"public", "supertokens", "test-user-id", "[email protected]", True, None | ||
"public", "supertokens", "test-user-id", "[email protected]", False, None | ||
) | ||
|
||
s = SessionRecipe.get_instance() | ||
|
@@ -522,7 +522,7 @@ async def send_email_override( | |
start_st() | ||
|
||
resp = await manually_create_or_update_user( | ||
"public", "supertokens", "test-user-id", "[email protected]", True, None | ||
"public", "supertokens", "test-user-id", "[email protected]", False, None | ||
) | ||
|
||
s = SessionRecipe.get_instance() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -396,4 +396,7 @@ async def test_signinup_generating_fake_email( | |
assert res.status_code == 200 | ||
res_json = res.json() | ||
assert res_json["status"] == "OK" | ||
assert res_json["user"]["email"] == "[email protected]" | ||
assert ( | ||
res_json["user"]["emails"][0] == "[email protected]" | ||
) | ||
assert len(res_json["user"]["emails"]) == 1 |