]> git.koha-community.org Git - koha.git/commit
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)
committerJacob O'Mara <jacobomara901@gmail.com>
Sun, 16 Apr 2023 17:04:52 +0000 (18:04 +0100)
commitaeb6cae060acdccfb7cd212a4a33477ad0d5713a
treef61d03d87bd7d551aa4376c7188fefe440578f3f
parentf1010ee062263c84be1cf8f9117730c536f9c8f5
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>
(cherry picked from commit 6ab19f01b8a6ee800b75781f761949c6c44ce634)
Signed-off-by: Jacob O'Mara <jacobomara901@gmail.com>
t/db_dependent/Holds.t
t/lib/TestBuilder.pm