Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroshinishio committed Nov 18, 2024
1 parent 9e78a62 commit fe93c3d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/services/supabase/test_users_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ def test_how_many_requests_left() -> None:
assert isinstance(end_date, datetime.datetime)

# Clean Up
supabase_manager.delete_installation(installation_id=INSTALLATION_ID)
supabase_manager.delete_installation(
installation_id=INSTALLATION_ID, user_id=USER_ID
)


# test_how_many_requests_left()
Expand Down Expand Up @@ -398,7 +400,7 @@ async def test_install_uninstall_install() -> None:
assert users_data[1][0]["user_id"] == USER_ID
assert users_data[1][0]["installation_id"] == NEW_INSTALLATION_ID
# Should be selected since it's the only user -> used for account selected in website
assert users_data[1][0]["is_selected"] is False
assert users_data[1][0]["is_selected"] is True
assert (
users_data[1][0]["first_issue"] is True
) # first issue since hasn't had an issue
Expand Down

0 comments on commit fe93c3d

Please sign in to comment.