From 68c192064a803317b8a859d1829439d238e1d9ee Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 25 Oct 2015 09:05:39 +0000 Subject: [PATCH] Set locale in tests (#21060). 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/test/unit/lib/redmine/field_format/enumeration_format_test.rb b/test/unit/lib/redmine/field_format/enumeration_format_test.rb index 961957ff8..bdc7e2cf8 100644 --- a/test/unit/lib/redmine/field_format/enumeration_format_test.rb +++ b/test/unit/lib/redmine/field_format/enumeration_format_test.rb @@ -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') -- 2.39.5