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

Ensure that the current language is 'en' in the test (#30718).

Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@17868 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2019-02-15 23:38:55 +00:00
parent ce2047dbf3
commit a08b64dfbb

View File

@ -2274,6 +2274,7 @@ class QueryTest < ActiveSupport::TestCase
end
def test_project_statuses_values_should_return_only_active_and_closed_statuses
set_language_if_valid 'en'
query = IssueQuery.new(:project => nil, :name => '_')
project_status_filter = query.available_filters['project.status']
assert_not_nil project_status_filter