From 7893f93ad1b5b679e178eed666c5ff2e923b7138 Mon Sep 17 00:00:00 2001 From: hinxcode Date: Mon, 18 Nov 2024 01:24:01 -0800 Subject: [PATCH] chore: Fix setup sequence --- .../src/support_sphere/scripts/update_db_sample_data.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/support_sphere_py/src/support_sphere/scripts/update_db_sample_data.py b/src/support_sphere_py/src/support_sphere/scripts/update_db_sample_data.py index 59576bc..95bf9b6 100644 --- a/src/support_sphere_py/src/support_sphere/scripts/update_db_sample_data.py +++ b/src/support_sphere_py/src/support_sphere/scripts/update_db_sample_data.py @@ -302,9 +302,6 @@ def test_app_mode_change(): def run_all(): logger.info("Starting to populate db with sample entries...") - # Setup utility resources to be shared during emergency - setup_utility_resources() - # Sanity check for user sign-up and sign-in flow via supabase authenticate_user_signup_signin_signout_via_supabase() @@ -314,6 +311,9 @@ def run_all(): # Set up the database with dummy users, roles, and permissions setup_user_details() + # Setup utility resources to be shared during emergency + setup_utility_resources() + # Sanity check app mode update test_app_mode_change()