1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-24 16:17:14 +00:00

Revert r13736, test fails with mysql.

git-svn-id: http://svn.redmine.org/redmine/trunk@13737 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2014-12-11 21:12:06 +00:00
parent 7bc3cf94cb
commit 0b1b46ae2c

View File

@ -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