Skip to content

Commit 63626d9

Browse files
test: fixes test,to actually test the values in the reset link
1 parent b03b4fb commit 63626d9

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tests/thirdpartyemailpassword/test_email_delivery.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,13 +1148,6 @@ async def send_email(
11481148
assert rid_info is not None and "rid=thirdpartyemailpassword" in rid_info
11491149
assert tenant_info is not None and "tenantId=public" in tenant_info
11501150

1151-
link = await send_reset_password_email("public", "invalidUserId")
1152-
assert isinstance(link, SendResetPasswordEmailUnknownUserIdError)
1153-
1154-
with raises(GeneralError) as err:
1155-
await send_reset_password_email("invalidTenantId", user_info["id"])
1156-
assert "status code: 400" in str(err.value)
1157-
11581151

11591152
@mark.asyncio
11601153
async def test_send_reset_password_email_invalid_input(

0 commit comments

Comments
 (0)