Bugzilla – Attachment 93227 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), 1.14 KB, created by
Katrin Fischer
on 2019-09-30 09:50:29 UTC
(
hide
)
Description:
Bug 23129: Unit test
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-09-30 09:50:29 UTC
Size:
1.14 KB
patch
obsolete
>From 680618b88c207335cfc659406d497ab0d96095e3 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 > >Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de> >Signed-off-by: Bouzid Fergani <bouzid.fergani@inlibro.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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