summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-11 21:12:06 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-11 21:12:06 +0000
commit0b1b46ae2c18709975da11c11994ed3ad0e38c59 (patch)
tree9fb8d756263fddddf01d350a6c6358d3721a70ee /test
parent7bc3cf94cbb9ad4ed13dace618db28d2a327e168 (diff)
downloadredmine-0b1b46ae2c18709975da11c11994ed3ad0e38c59.tar.gz
redmine-0b1b46ae2c18709975da11c11994ed3ad0e38c59.zip
Revert r13736, test fails with mysql.
git-svn-id: http://svn.redmine.org/redmine/trunk@13737 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/search_controller_test.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/functional/search_controller_test.rb b/test/functional/search_controller_test.rb
index 1a11e0444..4124985db 100644
--- a/test/functional/search_controller_test.rb
+++ b/test/functional/search_controller_test.rb
@@ -238,15 +238,6 @@ class SearchControllerTest < ActionController::TestCase
assert results.map(&:event_datetime).min >= '20080806T073000'.to_time
end
- def test_search_with_limited_results
- issues = (0..24).map {|i| Issue.generate!(:subject => 'search_with_limited_results')}.reverse
-
- get :index, :q => 'limited_results'
- assert_response :success
- assert_equal 10, assigns(:results).size
- assert_equal issues[0..9], assigns(:results)
- end
-
def test_search_with_invalid_project_id
get :index, :id => 195, :q => 'recipe'
assert_response 404