Merged r17868 from trunk to 4.0-stable (#30718).

git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@17871 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2019-02-16 00:34:02 +00:00
parent d99cbe498f
commit 4bb955c482

View File

@@ -2222,6 +2222,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