Tidied.
This commit is contained in:
parent
68ba6b3087
commit
70ce1be8c9
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ class MonitoringControllerTest < ActionDispatch::IntegrationTest
|
||||||
|
|
||||||
test '09 check restart_failed_jobs' do
|
test '09 check restart_failed_jobs' do
|
||||||
credentials = ActionController::HttpAuthentication::Basic.encode_credentials('monitoring-admin@example.com', 'adminpw')
|
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)
|
assert_response(200)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue