Skip to content

Commit 8c4aaee

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/emailpassword/test_passwordreset.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ async def test_create_reset_password_link(
389389
url = urlparse(link.link) # type: ignore
390390
queries = url.query.strip("&").split("&")
391391
assert url.path == "/auth/reset-password"
392+
assert "token=" in queries[0]
392393
assert "tenantId=public" in queries
393394
assert "rid=emailpassword" in queries
394395

0 commit comments

Comments
 (0)