From dda9317aab825d83c7e3475bbcd4dd704f36f8d5 Mon Sep 17 00:00:00 2001 From: Zach Wolfenbarger Date: Tue, 17 Oct 2023 17:02:13 -0500 Subject: [PATCH] Add admin flag to admin request --- spec/controllers/api/v1/project_preferences_controller_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/controllers/api/v1/project_preferences_controller_spec.rb b/spec/controllers/api/v1/project_preferences_controller_spec.rb index cf9d3f572..68bbf6e7d 100644 --- a/spec/controllers/api/v1/project_preferences_controller_spec.rb +++ b/spec/controllers/api/v1/project_preferences_controller_spec.rb @@ -173,6 +173,7 @@ it 'lets the admin update UPP settings' do default_request user_id: admin_user.id, scopes: scopes + settings_params[:admin] = true run_update expect(response.status).to eq(200) end