From ebe41c4b06854a615cc081432e94c063d287fc86 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Tue, 13 Jul 2010 19:14:28 -0700 Subject: Bug 578531: Move the chfield stuff out of init, and make the changedbefore/after charts include the date specified (they previously did exclusive searches) r=mkanat, a=mkanat (module owner) --- xt/lib/Bugzilla/Test/Search/Constants.pm | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'xt/lib') diff --git a/xt/lib/Bugzilla/Test/Search/Constants.pm b/xt/lib/Bugzilla/Test/Search/Constants.pm index c9d2ef088..9e70caf5a 100644 --- a/xt/lib/Bugzilla/Test/Search/Constants.pm +++ b/xt/lib/Bugzilla/Test/Search/Constants.pm @@ -426,14 +426,7 @@ use constant KNOWN_BROKEN => { 'changedbefore' => { CHANGED_BROKEN, 'attach_data.thedata' => { contains => [1] }, - creation_ts => { contains => [1,5] }, - # attachments.* finds values where the date matches exactly. - 'attachments.description' => { contains => [2] }, - 'attachments.filename' => { contains => [2] }, - 'attachments.isobsolete' => { contains => [2] }, - 'attachments.ispatch' => { contains => [2] }, - 'attachments.isprivate' => { contains => [2] }, - 'attachments.mimetype' => { contains => [2] }, + creation_ts => { contains => [1,2,5] }, }, 'changedafter' => { 'attach_data.thedata' => { contains => [2,3,4] }, @@ -854,18 +847,18 @@ use constant TESTS => { ], changedbefore => [ - { contains => [1], value => '<2-delta>', + { contains => [1], value => '<1-delta>', override => { CHANGED_OVERRIDE, - creation_ts => { contains => [1,5] }, + creation_ts => { contains => [1,2,5] }, blocked => { contains => [1,2] }, dependson => { contains => [1,3] }, - longdesc => { contains => [1,2,5] }, + longdesc => { contains => [1,5] }, } }, ], changedafter => [ - { contains => [2,3,4], value => '<1-delta>', + { contains => [2,3,4], value => '<2-delta>', override => { CHANGED_OVERRIDE, creation_ts => { contains => [2,3,4] }, -- cgit v1.2.3-24-g4f1b