File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
tests/thirdpartyemailpassword Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 4646from supertokens_python .recipe .thirdpartyemailpassword .interfaces import (
4747 CreateResetPasswordLinkUnknownUserIdError ,
4848 SendResetPasswordEmailEmailOkResult ,
49+ SendResetPasswordEmailUnknownUserIdError ,
4950)
5051from supertokens_python .recipe .emailverification .emaildelivery .services import (
5152 SMTPService as EVSMTPService ,
@@ -1120,9 +1121,9 @@ async def test_send_reset_password_email(
11201121 resp = await send_reset_password_email ("public" , user_info ["id" ])
11211122 assert isinstance (resp , SendResetPasswordEmailEmailOkResult )
11221123
1123- link = await create_reset_password_link ("public" , "invalidUserId" )
1124- assert isinstance (link , CreateResetPasswordLinkUnknownUserIdError )
1124+ link = await send_reset_password_email ("public" , "invalidUserId" )
1125+ assert isinstance (link , SendResetPasswordEmailUnknownUserIdError )
11251126
11261127 with raises (GeneralError ) as err :
1127- await create_reset_password_link ("invalidTenantId" , user_info ["id" ])
1128+ await send_reset_password_email ("invalidTenantId" , user_info ["id" ])
11281129 assert "status code: 400" in str (err .value )
You can’t perform that action at this time.
0 commit comments