Bugzilla – Attachment 111146 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.03 KB, created by
Tomás Cohen Arazi (tcohen)
on 2020-10-02 12:33:24 UTC
(
hide
)
Description:
Bug 25755: (follow-up) Fix unit test
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2020-10-02 12:33:24 UTC
Size:
1.03 KB
patch
obsolete
>From ee53ea487b5f615301d756942ff3ca5660340a4f 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 > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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 bace51c164..a4d4777ffe 100755 >--- a/t/db_dependent/Koha/Item.t >+++ b/t/db_dependent/Koha/Item.t >@@ -394,7 +394,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.28.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 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