diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-07-14 04:14:28 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-07-14 04:14:28 +0200 |
commit | ebe41c4b06854a615cc081432e94c063d287fc86 (patch) | |
tree | 4eecdb62b60882a7dfc9f5c39493dbf1e8747cfe /xt/lib/Bugzilla | |
parent | ccd7071ee27555304c05bd9693c9934be469a529 (diff) | |
download | bugzilla-ebe41c4b06854a615cc081432e94c063d287fc86.tar.gz bugzilla-ebe41c4b06854a615cc081432e94c063d287fc86.tar.xz |
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)
Diffstat (limited to 'xt/lib/Bugzilla')
-rw-r--r-- | xt/lib/Bugzilla/Test/Search/Constants.pm | 17 |
1 files changed, 5 insertions, 12 deletions
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] }, |