diff options
-rw-r--r-- | test/functional/time_entry_reports_controller_test.rb | 2 | ||||
-rw-r--r-- | test/unit/lib/redmine/i18n_test.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/time_entry_reports_controller_test.rb b/test/functional/time_entry_reports_controller_test.rb index 6faadd2df..33df12e1d 100644 --- a/test/functional/time_entry_reports_controller_test.rb +++ b/test/functional/time_entry_reports_controller_test.rb @@ -341,7 +341,7 @@ class TimeEntryReportsControllerTest < ActionController::TestCase assert_equal "#{user.firstname} #{user.lastname};7,30;7,30", lines[1] assert_equal "#{s2};7,30;7,30", lines[2] - str_fr = "Fran\xc3\xa7ais".force_encoding('UTF-8') + str_fr = "French (Fran\xc3\xa7ais)".force_encoding('UTF-8') assert_equal str_fr, l(:general_lang_name) assert_equal 'ISO-8859-1', l(:general_csv_encoding) assert_equal ';', l(:general_csv_separator) diff --git a/test/unit/lib/redmine/i18n_test.rb b/test/unit/lib/redmine/i18n_test.rb index 6f3d21cde..bf94e14af 100644 --- a/test/unit/lib/redmine/i18n_test.rb +++ b/test/unit/lib/redmine/i18n_test.rb @@ -258,7 +258,7 @@ class Redmine::I18nTest < ActiveSupport::TestCase def test_french_locale set_language_if_valid 'fr' - str_fr = "Fran\xc3\xa7ais".force_encoding('UTF-8') + str_fr = "French (Fran\xc3\xa7ais)".force_encoding('UTF-8') assert_equal str_fr, l(:general_lang_name) end end |