From 6b13b3cc4dcd42e0c602eeff22b85483493afa59 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 11 Mar 2021 08:05:29 +0000 Subject: 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 --- test/test_helper.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/test_helper.rb') 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? -- cgit v1.2.3