From ae082205e21e56dca3dccbdf72320528467e74fd Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 27 Nov 2009 19:56:09 +0000 Subject: [PATCH] Add failing test for #4302. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3096 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/issues_controller_test.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 7356b130b..da6e1de68 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -193,6 +193,11 @@ class IssuesControllerTest < ActionController::TestCase assert_not_nil count_by_group['MySQL'] end + def test_index_sort_by_field_not_included_in_columns + Setting.issue_list_default_columns = %w(subject author) + get :index, :sort => 'tracker' + end + def test_index_csv_with_project Setting.default_language = 'en'