X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d8de76141cbe9a9af10dfc408b6d656cc727bbe5..e0f9e708b23c656ae7625438ff76a131da8746eb:/services/api/test/functional/arvados/v1/links_controller_test.rb diff --git a/services/api/test/functional/arvados/v1/links_controller_test.rb b/services/api/test/functional/arvados/v1/links_controller_test.rb index dfce78b13f..d5b42665c3 100644 --- a/services/api/test/functional/arvados/v1/links_controller_test.rb +++ b/services/api/test/functional/arvados/v1/links_controller_test.rb @@ -271,11 +271,11 @@ class Arvados::V1::LinksControllerTest < ActionController::TestCase end test "refuse duplicate name" do - the_name = links(:job_name_in_afolder).name - the_folder = links(:job_name_in_afolder).tail_uuid + the_name = links(:job_name_in_aproject).name + the_project = links(:job_name_in_aproject).tail_uuid authorize_with :active post :create, link: { - tail_uuid: the_folder, + tail_uuid: the_project, head_uuid: specimens(:owned_by_active_user).uuid, link_class: 'name', name: the_name,