11453: Move remote token validation to middleware. Bypass Ruby SDK.
[arvados.git] / services / api / test / integration / valid_links_test.rb
index 657bf02a09f341479bdbb1b9455a0638f7a13c4f..ed705fc04dd4d4ceef74fef40d97d48c3a93ea91 100644 (file)
@@ -1,3 +1,7 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 require 'test_helper'
 
 class ValidLinksTest < ActionDispatch::IntegrationTest
@@ -16,7 +20,7 @@ class ValidLinksTest < ActionDispatch::IntegrationTest
       }
     }, admin_auth
     assert_response :success
-    u = jresponse['uuid']
+    u = json_response['uuid']
 
     put "/arvados/v1/links/#{u}", {
       :format => :json,