diff options
author | Go MAEDA <maeda@farend.jp> | 2021-03-11 08:05:29 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2021-03-11 08:05:29 +0000 |
commit | 6b13b3cc4dcd42e0c602eeff22b85483493afa59 (patch) | |
tree | 16416b47965acab090a1b38aab4d661c5ab153f4 /test/test_helper.rb | |
parent | 880632eb6f8df6add83d428f41078bfccde40d18 (diff) | |
download | redmine-6b13b3cc4dcd42e0c602eeff22b85483493afa59.tar.gz redmine-6b13b3cc4dcd42e0c602eeff22b85483493afa59.zip |
Use MiniTest::Assertions#skip to skip tests in RepositoriesControllerTest when Subversion test repository is not configured (#8875).
git-svn-id: http://svn.redmine.org/redmine/trunk@20774 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r-- | test/test_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb index 94f62d9fc..86801ff54 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -163,6 +163,10 @@ class ActiveSupport::TestCase File.directory?(repository_path(vendor)) end + def repository_configured?(vendor) + self.class.repository_configured?(vendor) + end + def self.is_mysql_utf8mb4 return false unless Redmine::Database.mysql? |