Skip to content

Commit 269dfad

Browse files
authored
test: add phone None for avoid error
1 parent 41e1be4 commit 269dfad

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/test_client.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@ def test_client_auth(supabase: Client) -> None:
4444
random_email: str = f"{_random_string(10)}@supamail.com"
4545
random_password: str = _random_string(20)
4646
# Sign up (and sign in).
47-
user = supabase.auth.sign_up(email=random_email, password=random_password)
47+
user = supabase.auth.sign_up(
48+
email=random_email,
49+
password=random_password,
50+
phone=None,
51+
)
4852
_assert_authenticated_user(user)
4953
# Sign out.
5054
supabase.auth.sign_out()

0 commit comments

Comments
 (0)