Skip to content

Commit f2e3c03

Browse files
committed
Fix test
1 parent 95955c6 commit f2e3c03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/functional/custom_message_settings_controller_test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ class CustomMessageSettingsControllerTest < defined?(Redmine::ControllerTest) ?
88
def setup
99
@request.session[:user_id] = 1 # admin
1010
MessageCustomize::Locale.reload!(['en', 'ja'])
11+
set_language_if_valid 'en'
1112
Rails.application.config.i18n.load_path = (Rails.application.config.i18n.load_path + Dir.glob(Rails.root.join('plugins', 'redmine_message_customize', 'config', 'locales', 'custom_messages', '*.rb'))).uniq
1213
end
1314

0 commit comments

Comments
 (0)