1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 11:37:14 +00:00

Skip test_show_without_main_repository_should_display_first_repository when Subversion test repository is not configured (#33953).

git-svn-id: https://svn.redmine.org/redmine/trunk@21742 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2022-07-28 02:47:58 +00:00
parent 8c1fda0b5d
commit d6a8d34dc9

View File

@ -189,6 +189,8 @@ class RepositoriesControllerTest < Redmine::RepositoryControllerTest
end
def test_show_without_main_repository_should_display_first_repository
skip unless repository_configured?('subversion')
project = Project.find(1)
repos = project.repositories
repos << Repository::Subversion.create(:identifier => 'test', :url => 'svn://valid')