Bugzilla – Attachment 93043 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.08 KB, created by
Bouzid Fergani
on 2019-09-20 19:31:21 UTC
(
hide
)
Description:
Bug 23129: Unit test
Filename:
MIME Type:
Creator:
Bouzid Fergani
Created:
2019-09-20 19:31:21 UTC
Size:
1.08 KB
patch
obsolete
>From 72fa19994c39259aece4ba35aea7ca5a31999719 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> >--- > 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 a377c93..28fce32 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.7.4
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