Bugzilla – Attachment 158900 Details for
Bug 27992
When recording local use with statistical patron items are not checked in
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27992: [23.05] (follow-up) Fix unit test with unblessed patron
Bug-27992-2305-follow-up-Fix-unit-test-with-unbles.patch (text/plain), 1.03 KB, created by
Fridolin Somers
on 2023-11-13 19:22:19 UTC
(
hide
)
Description:
Bug 27992: [23.05] (follow-up) Fix unit test with unblessed patron
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2023-11-13 19:22:19 UTC
Size:
1.03 KB
patch
obsolete
>From fc0c87bf3c18c11c56160fc409cb8977eb12a1ea Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Mon, 13 Nov 2023 09:12:08 -1000 >Subject: [PATCH] Bug 27992: [23.05] (follow-up) Fix unit test with unblessed > patron > >--- > t/db_dependent/Circulation.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Circulation.t b/t/db_dependent/Circulation.t >index 4caaa43d02..11eb31fef5 100755 >--- a/t/db_dependent/Circulation.t >+++ b/t/db_dependent/Circulation.t >@@ -2321,7 +2321,7 @@ subtest 'CanBookBeIssued + Statistic patrons "X"' => sub { > my $patron_2 = $builder->build_object( > { class => 'Koha::Patrons', value => { categorycode => $patron_category->{categorycode} } } ); > my $item_2 = $builder->build_sample_item( { library => $library->branchcode } ); >- my $issue = AddIssue( $patron_2, $item_2->barcode ); >+ my $issue = AddIssue( $patron_2->unblessed, $item_2->barcode ); > $item_2->discard_changes; > ok( $item_2->onloan, "Item is checked out" ); > >-- >2.42.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 27992
:
126865
|
127189
|
128633
|
128634
|
146041
|
158011
|
158073
|
158086
|
158216
|
158217
|
158462
|
158463
|
158464
|
158465
| 158900