Bugzilla – Attachment 149093 Details for
Bug 29234
Transfers generated by stock rotation alert but do not initiate at checkin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29234: Set datesent for transfers in Z3950 Responder tests
Bug-29234-Set-datesent-for-transfers-in-Z3950-Resp.patch (text/plain), 1.96 KB, created by
Nick Clemens (kidclamp)
on 2023-04-03 13:16:34 UTC
(
hide
)
Description:
Bug 29234: Set datesent for transfers in Z3950 Responder tests
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2023-04-03 13:16:34 UTC
Size:
1.96 KB
patch
obsolete
>From 87b949220dc4e95c3dfc8c5a2e19f4f662f2f908 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 3 Apr 2023 12:33:52 +0000 >Subject: [PATCH] Bug 29234: Set datesent for transfers in Z3950 Responder > tests > >--- > t/db_dependent/Koha/Z3950Responder/Session.t | 5 ++++- > t/db_dependent/Koha/Z3950Responder/Session2.t | 4 +++- > 2 files changed, 7 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/Koha/Z3950Responder/Session.t b/t/db_dependent/Koha/Z3950Responder/Session.t >index b48ac0cc76..c87fd9b995 100755 >--- a/t/db_dependent/Koha/Z3950Responder/Session.t >+++ b/t/db_dependent/Koha/Z3950Responder/Session.t >@@ -5,6 +5,8 @@ use Test::More tests => 3; > use t::lib::TestBuilder; > use C4::Items qw( GetMarcItem ); > >+use Koha::DateUtils qw( dt_from_string ); >+ > 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 => dt_from_string() > } > } > ); >diff --git a/t/db_dependent/Koha/Z3950Responder/Session2.t b/t/db_dependent/Koha/Z3950Responder/Session2.t >index 71ba26ec3e..1f653d1b75 100755 >--- a/t/db_dependent/Koha/Z3950Responder/Session2.t >+++ b/t/db_dependent/Koha/Z3950Responder/Session2.t >@@ -6,6 +6,7 @@ use t::lib::TestBuilder; > use C4::Items qw( GetMarcItem ); > > use Koha::Caches; >+use Koha::DateUtils qw( dt_from_string ); > > BEGIN { > use_ok('Koha::Z3950Responder'); >@@ -62,7 +63,8 @@ subtest 'add_item_status' => sub { > value => { > itemnumber => $item_1->itemnumber, > datearrived => undef, >- datecancelled => undef >+ datecancelled => undef, >+ datesent => dt_from_string() > } > } > ); >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29234
:
126267
|
126269
|
126300
|
126481
|
148751
|
148752
|
149046
|
149093
|
149094
|
149095
|
149096