Skip to content

Commit

Permalink
feat: add tests WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
juancarlospaco committed Jan 23, 2025
1 parent 7a397e0 commit a33acf5
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions tests/_sync/test_gotrue_admin_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,14 +569,14 @@ def test_update_user():
# assert e.to_dict()


# def test_weak_phone_password_error():
# credentials = mock_user_credentials()
# try:
# client_api_auto_confirm_off_signups_enabled_client().sign_up(
# {
# "phone": credentials.get("phone"),
# "password": "123",
# }
# )
# except AuthWeakPasswordError as e:
# assert e.to_dict()
def test_weak_phone_password_error():
credentials = mock_user_credentials()
try:
client_api_auto_confirm_off_signups_enabled_client().sign_up(
{
"phone": credentials.get("phone"),
"password": "123",
}
)
except AuthWeakPasswordError as e:
assert e.to_dict()

0 comments on commit a33acf5

Please sign in to comment.