From: Max Kanat-Alexander Date: Wed, 3 Nov 2010 01:02:28 +0000 (-0700) Subject: The patch that made Bugzilla::Bug use Bugzilla::Comment to add comments X-Git-Tag: bugzilla-4.1.1~160 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8a6e226052b940268bd0dd8e0767d3ad516d773;p=thirdparty%2Fbugzilla.git The patch that made Bugzilla::Bug use Bugzilla::Comment to add comments fixed certain work_time tests in xt/search.t. --- diff --git a/xt/lib/Bugzilla/Test/Search/Constants.pm b/xt/lib/Bugzilla/Test/Search/Constants.pm index 897ece1c9c..54a4464a48 100644 --- a/xt/lib/Bugzilla/Test/Search/Constants.pm +++ b/xt/lib/Bugzilla/Test/Search/Constants.pm @@ -310,7 +310,6 @@ use constant CHANGED_VALUE_BROKEN => ( 'flagtypes.name' => { contains => [1] }, keywords => { contains => [1] }, 'longdescs.count' => { search => 1 }, - work_time => { contains => [1] }, FIELD_TYPE_MULTI_SELECT, { contains => [1] }, ); @@ -430,6 +429,7 @@ use constant KNOWN_BROKEN => { # from a blank value" probably. blocked => { contains => [3,4,5] }, dependson => { contains => [2,4,5] }, + work_time => { contains => [1] }, FIELD_TYPE_BUG_ID, { contains => [5] }, }, # changeto doesn't find work_time changes (probably due to decimal/string @@ -645,6 +645,7 @@ use constant BROKEN_NOT => { changedto => { CHANGED_BROKEN_NOT, CHANGED_FROM_TO_BROKEN_NOT, + work_time => { }, longdesc => { contains => [1] }, "remaining_time" => { contains => [1] }, },