Bug 29234: Set datesent for transfers in Z3950 Responder tests
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
be81f156b8
commit
b96e61f1ea
2 changed files with 6 additions and 2 deletions
|
@ -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()',
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
|
@ -62,7 +62,8 @@ subtest 'add_item_status' => sub {
|
|||
value => {
|
||||
itemnumber => $item_1->itemnumber,
|
||||
datearrived => undef,
|
||||
datecancelled => undef
|
||||
datecancelled => undef,
|
||||
datesent => \'NOW()',
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue