Bug 29234: (QA follow-up) Fix test that expects wrong defaults
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 31 Mar 2023 16:30:14 +0000 (18:30 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 31 Mar 2023 16:35:54 +0000 (18:35 +0200)
commit6ab19f01b8a6ee800b75781f761949c6c44ce634
tree737d76e33a06314997390a7f34b80f06c85a61f0
parenta18f65cdcc51571bc9eae1e903a6b7b676e6a89e
Bug 29234: (QA follow-up) Fix test that expects wrong defaults

This patch changes the get_items_that_can_fill tests so they explicitly
set a 'datearrived' as the new defaults for fresh transfer objects from
TestBuilder is more sane and has this field undef. Tests *should always*
create their required scenarios explicitly.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Holds.t
t/lib/TestBuilder.pm