From fe93c3d2105f201908083208bdf58551a313104c Mon Sep 17 00:00:00 2001 From: Hiroshi Nishio Date: Mon, 18 Nov 2024 16:53:31 +0900 Subject: [PATCH] . --- tests/services/supabase/test_users_manager.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/services/supabase/test_users_manager.py b/tests/services/supabase/test_users_manager.py index 9e150eca..3adcf080 100644 --- a/tests/services/supabase/test_users_manager.py +++ b/tests/services/supabase/test_users_manager.py @@ -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() @@ -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