Project

General

Profile

Defect #24030 » same-with-r19706.diff

Toshi MARUYAMA, 2020-04-20 04:33

View differences:

test/functional/repositories_controller_test.rb
189 189
  end
190 190

  
191 191
  if repository_configured?('subversion') &&
192
      !(Redmine::Database::mysql? && !is_mysql_utf8mb4)
192
      !(Redmine::Database.mysql? && !is_mysql_utf8mb4)
193 193
    def test_show_should_show_diff_button_depending_on_browse_repository_permission
194 194
      @request.session[:user_id] = 2
195 195
      role = Role.find(1)
test/functional/repositories_subversion_controller_test.rb
41 41
  end
42 42

  
43 43
  if repository_configured?('subversion') &&
44
      !(Redmine::Database::mysql? && !is_mysql_utf8mb4)
44
      !(Redmine::Database.mysql? && !is_mysql_utf8mb4)
45 45
    def test_new
46 46
      @request.session[:user_id] = 1
47 47
      @project.repository.destroy
test/unit/repository_subversion_test.rb
92 92
  end
93 93

  
94 94
  if repository_configured?('subversion') &&
95
      !(Redmine::Database::mysql? && !is_mysql_utf8mb4)
95
      !(Redmine::Database.mysql? && !is_mysql_utf8mb4)
96 96
    def test_fetch_changesets_from_scratch
97 97
      assert_equal 0, @repository.changesets.count
98 98
      @repository.fetch_changesets
(7-7/7)