]> source.dussan.org Git - redmine.git/commitdiff
Set locale in tests (#21060).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 25 Oct 2015 09:05:39 +0000 (09:05 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 25 Oct 2015 09:05:39 +0000 (09:05 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@14748 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/lib/redmine/field_format/enumeration_format_test.rb

index 961957ff87eb842e0b42cbdb484bbf1cccf2b92d..bdc7e2cf8ac8b28a1256e5693e95365c7f98d836 100644 (file)
@@ -22,6 +22,7 @@ class Redmine::EnumerationFieldFormatTest < ActionView::TestCase
   include ApplicationHelper
 
   def setup
+    set_language_if_valid 'en'
     @field = IssueCustomField.create!(:name => 'List', :field_format => 'enumeration', :is_required => false)
     @foo = CustomFieldEnumeration.new(:name => 'Foo')
     @bar = CustomFieldEnumeration.new(:name => 'Bar')