Bug 29234: Set datesent for transfers in Z3950 Responder tests

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Nick Clemens 2023-04-03 12:33:52 +00:00 committed by Tomas Cohen Arazi
parent be81f156b8
commit b96e61f1ea
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
2 changed files with 6 additions and 2 deletions

View file

@ -5,6 +5,8 @@ use Test::More tests => 3;
use t::lib::TestBuilder;
use C4::Items qw( GetMarcItem );
use Koha::AuthorisedValues;
BEGIN {
use_ok('Koha::Z3950Responder');
use_ok('Koha::Z3950Responder::Session');
@ -39,7 +41,8 @@ subtest 'add_item_status' => sub {
value => {
itemnumber => $item_1->itemnumber,
datearrived => undef,
datecancelled => undef
datecancelled => undef,
datesent => \'NOW()',
}
}
);

View file

@ -62,7 +62,8 @@ subtest 'add_item_status' => sub {
value => {
itemnumber => $item_1->itemnumber,
datearrived => undef,
datecancelled => undef
datecancelled => undef,
datesent => \'NOW()',
}
}
);