Skip to content

Commit

Permalink
test: fixes test,to actually test the values in the reset link
Browse files Browse the repository at this point in the history
  • Loading branch information
IamMayankThakur committed Nov 17, 2023
1 parent b03b4fb commit 63626d9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/thirdpartyemailpassword/test_email_delivery.py
Original file line number Diff line number Diff line change
Expand Up @@ -1148,13 +1148,6 @@ async def send_email(
assert rid_info is not None and "rid=thirdpartyemailpassword" in rid_info
assert tenant_info is not None and "tenantId=public" in tenant_info

link = await send_reset_password_email("public", "invalidUserId")
assert isinstance(link, SendResetPasswordEmailUnknownUserIdError)

with raises(GeneralError) as err:
await send_reset_password_email("invalidTenantId", user_info["id"])
assert "status code: 400" in str(err.value)


@mark.asyncio
async def test_send_reset_password_email_invalid_input(
Expand Down

0 comments on commit 63626d9

Please sign in to comment.