X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e9587a4ba9e13719473ae222b10291ce58fb5560..cadfd226ac8911d34d7dc66ea75ac977ec1319d8:/services/api/test/unit/repository_test.rb diff --git a/services/api/test/unit/repository_test.rb b/services/api/test/unit/repository_test.rb index 3fb0cce60a..cb562ef977 100644 --- a/services/api/test/unit/repository_test.rb +++ b/services/api/test/unit/repository_test.rb @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + require 'test_helper' require 'helpers/git_test_helper' @@ -19,15 +23,15 @@ class RepositoryTest < ActiveSupport::TestCase def default_git_url(repo_name, user_name=nil) if user_name "git@git.%s.arvadosapi.com:%s/%s.git" % - [Rails.configuration.uuid_prefix, user_name, repo_name] + [Rails.configuration.ClusterID, user_name, repo_name] else "git@git.%s.arvadosapi.com:%s.git" % - [Rails.configuration.uuid_prefix, repo_name] + [Rails.configuration.ClusterID, repo_name] end end def assert_server_path(path_tail, repo_sym) - assert_equal(File.join(Rails.configuration.git_repositories_dir, path_tail), + assert_equal(File.join(Rails.configuration.Git.Repositories, path_tail), repositories(repo_sym).server_path) end