mirror of
https://github.com/redmine/redmine.git
synced 2025-11-11 15:56:03 +01:00
Skip repository tests when the SCM client command is unavailable (#42500).
Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23618 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -30,6 +30,7 @@ class RepositorySubversionTest < ActiveSupport::TestCase
|
||||
@repository = Repository::Subversion.create(:project => @project,
|
||||
:url => self.class.subversion_repository_url)
|
||||
assert @repository
|
||||
skip "SCM command is unavailable" unless @repository.class.scm_available
|
||||
end
|
||||
|
||||
def test_invalid_url
|
||||
|
||||
Reference in New Issue
Block a user