X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4f552c0187f8c31d94ff74485c57ef7f9888597e..ecf6627111838530f64ffcd689e11d987cc7bf2f:/services/api/test/integration/valid_links_test.rb diff --git a/services/api/test/integration/valid_links_test.rb b/services/api/test/integration/valid_links_test.rb index 65431f39a0..ed705fc04d 100644 --- a/services/api/test/integration/valid_links_test.rb +++ b/services/api/test/integration/valid_links_test.rb @@ -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, @@ -25,9 +29,6 @@ class ValidLinksTest < ActionDispatch::IntegrationTest } }, admin_auth assert_response :success - #puts @response.body - #puts jresponse['tail_uuid'] - #puts virtual_machines(:testvm2) assert_equal virtual_machines(:testvm2).uuid, (ActiveSupport::JSON.decode @response.body)['tail_uuid'] put "/arvados/v1/links/#{u}", {