mirror of
https://github.com/redmine/redmine.git
synced 2026-05-07 13:46:28 +02:00
Typecast issue ids when searched for.
Older Postgres versions don't allow searching over the id field's max size. Contributed by Holger Just git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3806 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -133,6 +133,12 @@ class SearchControllerTest < ActionController::TestCase
|
||||
assert_response :success
|
||||
assert_template 'index'
|
||||
end
|
||||
|
||||
def test_large_integer
|
||||
get :index, :q => '4615713488'
|
||||
assert_response :success
|
||||
assert_template 'index'
|
||||
end
|
||||
|
||||
def test_tokens_with_quotes
|
||||
get :index, :id => 1, :q => '"good bye" hello "bye bye"'
|
||||
|
||||
Reference in New Issue
Block a user