diff --git a/test/controllers/monitoring_controller_test.rb b/test/controllers/monitoring_controller_test.rb index 56d2d7958..fcd066e62 100644 --- a/test/controllers/monitoring_controller_test.rb +++ b/test/controllers/monitoring_controller_test.rb @@ -393,7 +393,7 @@ class MonitoringControllerTest < ActionDispatch::IntegrationTest test '09 check restart_failed_jobs' do credentials = ActionController::HttpAuthentication::Basic.encode_credentials('monitoring-admin@example.com', 'adminpw') - post "/api/v1/monitoring/restart_failed_jobs", {}, @headers.merge('Authorization' => credentials) + post '/api/v1/monitoring/restart_failed_jobs', {}, @headers.merge('Authorization' => credentials) assert_response(200) end