Bugzilla – Attachment 110466 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), 1002 bytes, created by
Martin Renvoize (ashimema)
on 2020-09-21 13:35:58 UTC
(
hide
)
Description:
Bug 25755: (follow-up) Fix unit test
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-09-21 13:35:58 UTC
Size:
1002 bytes
patch
obsolete
>From 49075d1fbd3701af1fa8bc8b6a54171e7f67df8d 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 > >--- > 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.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