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
18decee672
commit
8235e0f4a6
|
@ -29,7 +29,11 @@ class RepositoryGitTest < ActiveSupport::TestCase
|
||||||
def setup
|
def setup
|
||||||
Setting.commit_logs_encoding = 'UTF-8'
|
Setting.commit_logs_encoding = 'UTF-8'
|
||||||
@project = Project.find(3)
|
@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
|
assert @repository
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue