diff options
author | Go MAEDA <maeda@farend.jp> | 2019-04-01 05:40:07 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-04-01 05:40:07 +0000 |
commit | 08e3b975dcb471fcc709d643eb6a52c163acfbdf (patch) | |
tree | 3873e53a395f193045c5cfd1f99060166f807200 /test/system/timelog_test.rb | |
parent | 8a0c88a6f1fe90544f2bf16e5d5ebf9c59c03eff (diff) | |
download | redmine-08e3b975dcb471fcc709d643eb6a52c163acfbdf.tar.gz redmine-08e3b975dcb471fcc709d643eb6a52c163acfbdf.zip |
TimelogTest#test_default_query_setting fails depending on the language of the browser (#31074).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18032 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/system/timelog_test.rb')
-rw-r--r-- | test/system/timelog_test.rb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/test/system/timelog_test.rb b/test/system/timelog_test.rb index 58886c050..7c637d6cd 100644 --- a/test/system/timelog_test.rb +++ b/test/system/timelog_test.rb @@ -75,11 +75,13 @@ class TimelogTest < ApplicationSystemTestCase end def test_default_query_setting - # Display the list with the default settings - visit '/time_entries' - within 'table.time-entries thead' do - assert page.has_no_link?('Tracker') - assert page.has_text?('Comment') + with_settings :default_language => 'en', :force_default_language_for_anonymous => '1' do + # Display the list with the default settings + visit '/time_entries' + within 'table.time-entries thead' do + assert page.has_no_link?('Tracker') + assert page.has_text?('Comment') + end end # Change the default columns |