This commit is contained in:
Rolf Schmidt 2017-09-07 17:44:32 +02:00
parent 68ba6b3087
commit 70ce1be8c9

View file

@ -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