Bugzilla – Attachment 129326 Details for
Bug 29788
Make Koha::Item->safe_to_delete return a Koha::Result::Boolean object
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29788: Fix t/db_dependent/Reserves.t
Bug-29788-Fix-tdbdependentReservest.patch (text/plain), 922 bytes, created by
Fridolin Somers
on 2022-01-12 06:33:05 UTC
(
hide
)
Description:
Bug 29788: Fix t/db_dependent/Reserves.t
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2022-01-12 06:33:05 UTC
Size:
922 bytes
patch
obsolete
>From 9f8c77e864be9f142f3f0d44e6319f5e4b26cc9a Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Tue, 11 Jan 2022 20:30:21 -1000 >Subject: [PATCH] Bug 29788: Fix t/db_dependent/Reserves.t > >Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> >--- > t/db_dependent/Reserves.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Reserves.t b/t/db_dependent/Reserves.t >index a0e9df0016..c416476caa 100755 >--- a/t/db_dependent/Reserves.t >+++ b/t/db_dependent/Reserves.t >@@ -404,7 +404,7 @@ is($new_count, $hold_notice_count + 1, 'patron not notified a second time (bug 1 > t::lib::Mocks::mock_preference('IndependentBranches', 0); > $item = Koha::Items->find($item->itemnumber); > is( >- $item->safe_delete, >+ @{$item->safe_delete->messages}[0]->message, > 'book_reserved', > 'item that is captured to fill a hold cannot be deleted', > ); >-- >2.34.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 29788
:
128993
|
129010
|
129013
|
129018
|
129075
|
129076
|
129077
|
129097
|
129098
|
129169
|
129170
| 129326 |
132052