Bugzilla – Attachment 83156 Details for
Bug 21798
We need t::lib::TestBuilder::build_sample_biblio
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21798: (QA follow-up) Fix Biblios.t
Bug-21798-QA-follow-up-Fix-Bibliost.patch (text/plain), 1.33 KB, created by
Marcel de Rooy
on 2018-12-13 12:52:13 UTC
(
hide
)
Description:
Bug 21798: (QA follow-up) Fix Biblios.t
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2018-12-13 12:52:13 UTC
Size:
1.33 KB
patch
obsolete
>From a785dda94809c3b9681cdd7727badbe622104153 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 13 Dec 2018 13:51:20 +0100 >Subject: [PATCH] Bug 21798: (QA follow-up) Fix Biblios.t >Content-Type: text/plain; charset=utf-8 > >Global symbol "$bibnum" requires explicit package name > >Test plan: >Run test > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/db_dependent/Koha/Biblios.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Koha/Biblios.t b/t/db_dependent/Koha/Biblios.t >index 2ea000d..a3892c5 100644 >--- a/t/db_dependent/Koha/Biblios.t >+++ b/t/db_dependent/Koha/Biblios.t >@@ -175,7 +175,7 @@ subtest 'can_be_transferred' => sub { > .'items is already located at to-library, then the transfer is possible.'); > $item->holdingbranch($library1->branchcode)->store; > my ($item_bibnum2, $item_bibitemnum2, $itemnumber2) >- = AddItem({ homebranch => $library1->branchcode, holdingbranch => $library3->branchcode }, $bibnum); >+ = AddItem({ homebranch => $library1->branchcode, holdingbranch => $library3->branchcode }, $biblio->biblionumber); > my $item2 = Koha::Items->find($itemnumber2); > is($biblio->can_be_transferred({ to => $library2 }), 1, 'Given we added ' > .'another item that should have no transfer limits applying on, then ' >-- >2.1.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 21798
:
82116
|
82276
|
82277
|
82278
|
82943
|
83136
|
83137
|
83149
|
83150
|
83151
|
83152
|
83153
|
83154
|
83156
|
83157
|
83158
|
83159
|
83160
|
83161
|
83162
|
83163
|
84490
|
84491
|
84492
|
84493
|
84494
|
84495
|
84496