1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-24 01:11:12 +00:00

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
This commit is contained in:
Go MAEDA 2019-04-01 05:40:07 +00:00
parent 8a0c88a6f1
commit 08e3b975dc

View File

@ -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