From: Byron Jones Date: Wed, 24 Jul 2013 08:59:42 +0000 (+0800) Subject: Bug 345194: fix for xt tests X-Git-Tag: bugzilla-4.5.1~123 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea996b7667a9a01159f38bb4c6515782eb59609e;p=thirdparty%2Fbugzilla.git Bug 345194: fix for xt tests --- diff --git a/xt/lib/Bugzilla/Test/Search/Constants.pm b/xt/lib/Bugzilla/Test/Search/Constants.pm index 24a67e89df..5d84ec6ff7 100644 --- a/xt/lib/Bugzilla/Test/Search/Constants.pm +++ b/xt/lib/Bugzilla/Test/Search/Constants.pm @@ -947,6 +947,9 @@ use constant TESTS => { }, }, ], + # XXX these need tests developed + isempty => [], + isnotempty => [], }; # Fields that do not behave as we expect, for InjectionTest. @@ -995,6 +998,8 @@ use constant INJECTION_BROKEN_OPERATOR => { changedafter => { search => 1, field_ok => ['creation_ts'] }, changedbefore => { search => 1, field_ok => ['creation_ts'] }, changedby => { search => 1 }, + isempty => { search => 1 }, + isnotempty => { search => 1 }, }; # Tests run by Bugzilla::Test::Search::InjectionTest.