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

Fix redundant 'private' modifier in repositories_git_controller_test.rb (#38091).

git-svn-id: https://svn.redmine.org/redmine/trunk@22040 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2023-01-12 03:07:39 +00:00
parent 38d1e484b2
commit 2cf2bfdbed
2 changed files with 6 additions and 14 deletions

View File

@ -396,12 +396,6 @@ Lint/UnusedBlockArgument:
Lint/UnusedMethodArgument:
Enabled: false
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: ContextCreatingMethods, MethodCreatingMethods.
Lint/UselessAccessModifier:
Exclude:
- 'test/functional/repositories_git_controller_test.rb'
Lint/UselessAssignment:
Enabled: false

View File

@ -810,14 +810,6 @@ class RepositoriesGitControllerTest < Redmine::RepositoryControllerTest
@project.reload
assert_nil @project.repository
end
private
def puts_pass_on_not_utf8
puts "TODO: This test fails " +
"when Encoding.default_external is not UTF-8. " +
"Current value is '#{Encoding.default_external.to_s}'"
end
else
puts "Git test repository NOT FOUND. Skipping functional tests !!!"
def test_fake; assert true end
@ -831,4 +823,10 @@ class RepositoriesGitControllerTest < Redmine::RepositoryControllerTest
yield
ActionController::Base.perform_caching = before
end
def puts_pass_on_not_utf8
puts "TODO: This test fails " +
"when Encoding.default_external is not UTF-8. " +
"Current value is '#{Encoding.default_external.to_s}'"
end
end