diff --git a/supabase_test_helpers--0.0.5.sql b/supabase_test_helpers--0.0.5.sql index aeb8513..4310ee6 100644 --- a/supabase_test_helpers--0.0.5.sql +++ b/supabase_test_helpers--0.0.5.sql @@ -176,7 +176,9 @@ CREATE OR REPLACE FUNCTION tests.authenticate_as (identifier text) 'email', user_data ->> 'email', 'phone', user_data ->> 'phone', 'user_metadata', user_data -> 'raw_user_meta_data', - 'app_metadata', user_data -> 'raw_app_meta_data' + 'app_metadata', user_data -> 'raw_app_meta_data', + 'aal', 'aal1', + 'amr', json_build_array(json_build_object('method', 'password', 'timestamp', extract(epoch from now())::integer)) )::text, true); EXCEPTION @@ -382,4 +384,4 @@ BEGIN -- restore the original search path PERFORM set_config('search_path', current_setting('tests.original_search_path'), true); END -$$ LANGUAGE plpgsql; \ No newline at end of file +$$ LANGUAGE plpgsql;