18947: Remove errant uses of runsu.sh.
[arvados.git] / services / api / test / functional / arvados / v1 / keep_services_controller_test.rb
index 867ab35e795f522370ca5b61e6a4c4a900ffabbc..0fbc7625ceb0d985d4c26d10e9cc2b636574378e 100644 (file)
@@ -50,11 +50,10 @@ class Arvados::V1::KeepServicesControllerTest < ActionController::TestCase
     refute_empty expect_rvz
     authorize_with :active
     get :index,
-      params: {:format => :json},
-      headers: auth(:active)
+      params: {:format => :json}
     assert_response :success
     json_response['items'].each do |svc|
-      url = "#{svc['service_ssl_flag'] ? 'https' : 'http'}://#{svc['service_host']}:#{svc['service_port']}"
+      url = "#{svc['service_ssl_flag'] ? 'https' : 'http'}://#{svc['service_host']}:#{svc['service_port']}/"
       assert_equal true, expect_rvz.has_key?(url), "#{url} does not match any configured service: expecting #{expect_rvz}"
       rvz = expect_rvz[url]
       if rvz.is_a? String