projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Keepproxy use client-supplied token when forwarding GET and PUT requests.
[arvados.git]
/
services
/
api
/
test
/
integration
/
keep_proxy_test.rb
diff --git
a/services/api/test/integration/keep_proxy_test.rb
b/services/api/test/integration/keep_proxy_test.rb
index 347f69d5762355ce4cb5bdb68cadbf3dd636721e..d4155c2c4a6e39b88aa22b5100ec458634c70bfe 100644
(file)
--- a/
services/api/test/integration/keep_proxy_test.rb
+++ b/
services/api/test/integration/keep_proxy_test.rb
@@
-10,7
+10,7
@@
class KeepProxyTest < ActionDispatch::IntegrationTest
assert_equal 'disk', services[0]['service_type']
assert_equal 'disk', services[1]['service_type']
assert_equal 'disk', services[0]['service_type']
assert_equal 'disk', services[1]['service_type']
- get "/arvados/v1/keep_services/accessible", {:format => :json}, auth(:active).merge({'HTTP_X_
KEEP_PROXY_REQUIRED' => true
})
+ get "/arvados/v1/keep_services/accessible", {:format => :json}, auth(:active).merge({'HTTP_X_
EXTERNAL_CLIENT' => '1'
})
assert_response :success
services = json_response['items']
assert_response :success
services = json_response['items']