summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorEtienne Massip <etienne.massip@gmail.com>2011-10-18 17:51:21 +0000
committerEtienne Massip <etienne.massip@gmail.com>2011-10-18 17:51:21 +0000
commit33f65c5a48451f481d592239e6fe1b6c89596b03 (patch)
treef275eb83ff5cd00282f6b343b0fb46a40d6331e4 /test
parent78a875784620eb6eecddacce8f9fdc7742cc1f09 (diff)
downloadredmine-33f65c5a48451f481d592239e6fe1b6c89596b03.tar.gz
redmine-33f65c5a48451f481d592239e6fe1b6c89596b03.zip
Filter out illegal values to prevent raise of PostgreSQL exceptions, restored last test part removed with r7625 (#8371).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7628 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/issues_controller_test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb
index a0ce7914c..692212134 100644
--- a/test/functional/issues_controller_test.rb
+++ b/test/functional/issues_controller_test.rb
@@ -162,7 +162,9 @@ class IssuesControllerTest < ActionController::TestCase
'!~This is part of a subject' => { :op => '!~', :values => ['This is part of a subject'] }},
'tracker_id' => {
'3' => { :op => '=', :values => ['3'] },
- '=3' => { :op => '=', :values => ['3'] }},
+ '=3' => { :op => '=', :values => ['3'] },
+ '*' => { :op => '=', :values => ['*'] },
+ '!*' => { :op => '!', :values => ['*'] }},
'start_date' => {
'2011-10-12' => { :op => '=', :values => ['2011-10-12'] },
'=2011-10-12' => { :op => '=', :values => ['2011-10-12'] },