From: Peter Amstutz Date: Mon, 15 Oct 2018 15:09:58 +0000 (-0400) Subject: 14260: Add invalid remote token test X-Git-Tag: 1.3.0~70^2~9 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/cf36960c259c4f81c3c8758c9f18dc42db7e03fa?hp=9277fdba1f3df9468b4d4e2a8f150bca635e48fb 14260: Add invalid remote token test Arvados-DCO-1.1-Signed-off-by: Peter Amstutz --- diff --git a/services/api/test/integration/remote_user_test.rb b/services/api/test/integration/remote_user_test.rb index 84e8a94395..0e61db7bcd 100644 --- a/services/api/test/integration/remote_user_test.rb +++ b/services/api/test/integration/remote_user_test.rb @@ -264,7 +264,8 @@ class RemoteUsersTest < ActionDispatch::IntegrationTest test 'container request with runtime_token' do [["valid local", "v2/#{api_client_authorizations(:active).uuid}/#{api_client_authorizations(:active).api_token}"], ["valid remote", "v2/zbbbb-gj3su-000000000000000/abc"], - ["invalid local", "v2/#{api_client_authorizations(:active).uuid}/fakefakefake"] + ["invalid local", "v2/#{api_client_authorizations(:active).uuid}/fakefakefake"], + ["invalid remote", "v2/zbork-gj3su-000000000000000/abc"], ].each do |label, runtime_token| post '/arvados/v1/container_requests', { "container_request" => {