Bugzilla – Attachment 90619 Details for
Bug 23129
Items holdingbranch should be set to the originating library when generating a transfer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23129: Unit test
Bug-23129-Unit-test.patch (text/plain), 994 bytes, created by
Nick Clemens (kidclamp)
on 2019-06-14 18:20:24 UTC
(
hide
)
Description:
Bug 23129: Unit test
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2019-06-14 18:20:24 UTC
Size:
994 bytes
patch
obsolete
>From f8c15f3940eb7a53a060510cd07628a4c8d46258 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 14 Jun 2019 18:17:54 +0000 >Subject: [PATCH] Bug 23129: Unit test > >--- > t/db_dependent/Circulation/transfers.t | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Circulation/transfers.t b/t/db_dependent/Circulation/transfers.t >index a377c932cb..28fce32581 100644 >--- a/t/db_dependent/Circulation/transfers.t >+++ b/t/db_dependent/Circulation/transfers.t >@@ -27,7 +27,7 @@ use Koha::Item::Transfers; > > use t::lib::TestBuilder; > >-use Test::More tests => 24; >+use Test::More tests => 25; > use Test::Deep; > > BEGIN { >@@ -96,6 +96,10 @@ ModItemTransfer( > $branchcode_1, > $branchcode_2 > ); >+ >+my $item_obj = Koha::Items->find({ itemnumber => $item_id1 }); >+is( $item_obj->holdingbranch, $branchcode_1, "Item should be held at branch that initiates transfer"); >+ > ModItemTransfer( > $item_id2, > $branchcode_1, >-- >2.11.0
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 23129
:
90619
|
90620
|
91488
|
91489
|
93043
|
93045
|
93227
|
93228
|
94219