From: Jean-Philippe Lang Date: Fri, 27 Nov 2009 19:56:09 +0000 (+0000) Subject: Add failing test for #4302. X-Git-Tag: 0.9.0~166 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ae082205e21e56dca3dccbdf72320528467e74fd;p=redmine.git Add failing test for #4302. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3096 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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'