scm: git: prepare path encoding test in unit model test (#5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5051 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
3abdd84a49
commit
c381ce10e4
|
@ -29,7 +29,11 @@ class RepositoryGitTest < ActiveSupport::TestCase
|
|||
def setup
|
||||
Setting.commit_logs_encoding = 'UTF-8'
|
||||
@project = Project.find(3)
|
||||
@repository = Repository::Git.create(:project => @project, :url => REPOSITORY_PATH)
|
||||
@repository = Repository::Git.create(
|
||||
:project => @project,
|
||||
:url => REPOSITORY_PATH,
|
||||
:path_encoding => 'ISO-8859-1'
|
||||
)
|
||||
assert @repository
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue