Skip to content

Commit

Permalink
test: change message
Browse files Browse the repository at this point in the history
  • Loading branch information
leynier committed Dec 2, 2021
1 parent 367a09b commit 4ec0e07
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/_async/test_api_with_auto_confirm_enabled.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import pytest
from faker import Faker

from gotrue import AsyncGoTrueAPI
from gotrue.constants import COOKIE_OPTIONS
from gotrue.types import CookieOptions, Session, User
Expand Down
2 changes: 1 addition & 1 deletion tests/_async/test_client_with_auto_confirm_disabled.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ async def test_sign_in(client: AsyncGoTrueClient):
@pytest.mark.asyncio
@pytest.mark.depends(on=[test_sign_up_with_email_and_password.__name__])
async def test_sign_in_with_the_wrong_password(client: AsyncGoTrueClient):
expected_error_message = "Email not confirmed"
expected_error_message = "Invalid login credentials"
try:
await client.sign_in(
email=email,
Expand Down
1 change: 1 addition & 0 deletions tests/_sync/test_api_with_auto_confirm_enabled.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import pytest
from faker import Faker

from gotrue import SyncGoTrueAPI
from gotrue.constants import COOKIE_OPTIONS
from gotrue.types import CookieOptions, Session, User
Expand Down
2 changes: 1 addition & 1 deletion tests/_sync/test_client_with_auto_confirm_disabled.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def test_sign_in(client: SyncGoTrueClient):
@pytest.mark.asyncio
@pytest.mark.depends(on=[test_sign_up_with_email_and_password.__name__])
def test_sign_in_with_the_wrong_password(client: SyncGoTrueClient):
expected_error_message = "Email not confirmed"
expected_error_message = "Invalid login credentials"
try:
client.sign_in(
email=email,
Expand Down

0 comments on commit 4ec0e07

Please sign in to comment.