set default_language en at test_commit_closing_a_subproject_issue of unit changeset test

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10477 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2012-09-26 10:54:30 +00:00
parent c91ce512a9
commit cf52a6ccb4
1 changed files with 2 additions and 1 deletions

View File

@ -179,7 +179,8 @@ class ChangesetTest < ActiveSupport::TestCase
end
def test_commit_closing_a_subproject_issue
with_settings :commit_fix_status_id => 5, :commit_fix_keywords => 'closes' do
with_settings :commit_fix_status_id => 5, :commit_fix_keywords => 'closes',
:default_language => 'en' do
issue = Issue.find(5)
assert !issue.closed?
assert_difference 'Journal.count' do