mirror of
https://github.com/redmine/redmine.git
synced 2026-05-07 17:56:11 +02:00
Merged r15416 (#22808).
git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15419 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -273,6 +273,22 @@ class IssuesControllerTest < ActionController::TestCase
|
||||
assert_not_nil assigns(:issue_count_by_group)
|
||||
end
|
||||
|
||||
def test_index_with_query_grouped_and_sorted_by_fixed_version
|
||||
get :index, :project_id => 1, :set_filter => 1, :group_by => "fixed_version", :sort => "fixed_version"
|
||||
assert_response :success
|
||||
assert_template 'index'
|
||||
assert_not_nil assigns(:issues)
|
||||
assert_not_nil assigns(:issue_count_by_group)
|
||||
end
|
||||
|
||||
def test_index_with_query_grouped_and_sorted_by_fixed_version_in_reverse_order
|
||||
get :index, :project_id => 1, :set_filter => 1, :group_by => "fixed_version", :sort => "fixed_version:desc"
|
||||
assert_response :success
|
||||
assert_template 'index'
|
||||
assert_not_nil assigns(:issues)
|
||||
assert_not_nil assigns(:issue_count_by_group)
|
||||
end
|
||||
|
||||
def test_index_with_query_grouped_by_list_custom_field
|
||||
get :index, :project_id => 1, :query_id => 9
|
||||
assert_response :success
|
||||
|
||||
Reference in New Issue
Block a user