mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 06:15:59 +01: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user