]> source.dussan.org Git - redmine.git/commitdiff
Merged r10477 from trunk
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 26 Sep 2012 11:59:19 +0000 (11:59 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 26 Sep 2012 11:59:19 +0000 (11:59 +0000)
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/branches/2.1-stable@10481 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/changeset_test.rb

index df179eeacb723dbbca68b3aba881bc5c707ccacf..002c90e74e939bac787bca1d23a749f7488267df 100644 (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