Commit 6674f84e authored by maeda's avatar maeda

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

Patch by Pavel Rosický.


git-svn-id: https://svn.redmine.org/redmine/trunk@17868 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 7f63efe6
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment