Bugzilla – Attachment 116545 Details for
Bug 25755
Add a Koha::Item->request_transfer method
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25755: (follow-up) Fix unit test
Bug-25755-follow-up-Fix-unit-test.patch (text/plain), 1.24 KB, created by
Martin Renvoize (ashimema)
on 2021-02-09 10:47:23 UTC
(
hide
)
Description:
Bug 25755: (follow-up) Fix unit test
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-02-09 10:47:23 UTC
Size:
1.24 KB
patch
obsolete
>From ffbf4a4cd99de50e2e2853925b21835c3780f13f Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 21 Sep 2020 14:35:25 +0100 >Subject: [PATCH] Bug 25755: (follow-up) Fix unit test >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Signed-off-by: Kathleen Milne <kathleen.milne@cne-siar.gov.uk> >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi> >--- > t/db_dependent/Koha/Item.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Koha/Item.t b/t/db_dependent/Koha/Item.t >index 5a6d16ae85..8858e071fa 100755 >--- a/t/db_dependent/Koha/Item.t >+++ b/t/db_dependent/Koha/Item.t >@@ -506,7 +506,7 @@ subtest 'request_transfer' => sub { > 'Koha::Exceptions::Item::Transfer::Limit', > 'Exception thrown if transfer is prevented by limits'; > >- my $forced_transfer = $item->request_transfer( { to => $library1, reason => 'Manual', force => 1 } ); >+ my $forced_transfer = $item->request_transfer( { to => $library1, reason => 'Manual', ignore_limits => 1 } ); > is( ref($forced_transfer), 'Koha::Item::Transfer', > 'Koha::Item->request_transfer allowed when forced' > ); >-- >2.20.1
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 25755
:
105887
|
107240
|
107294
|
110273
|
110376
|
110392
|
110393
|
110394
|
110430
|
110466
|
110502
|
110503
|
110504
|
110505
|
110506
|
111142
|
111143
|
111144
|
111145
|
111146
|
116541
|
116542
|
116543
|
116544
|
116545
|
116546
|
117574
|
117575
|
117576
|
117577
|
117578
|
117579