Bugzilla – Attachment 173798 Details for
Bug 22421
accountlines.issue_id is missing a foreign key constraint
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22421: (follow-up) Fix tests
Bug-22421-follow-up-Fix-tests.patch (text/plain), 1.03 KB, created by
Martin Renvoize (ashimema)
on 2024-10-31 13:15:06 UTC
(
hide
)
Description:
Bug 22421: (follow-up) Fix tests
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-10-31 13:15:06 UTC
Size:
1.03 KB
patch
obsolete
>From 9aacc2facba8c28949acd253bffd6635a539c3c7 Mon Sep 17 00:00:00 2001 >From: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> >Date: Thu, 24 Oct 2024 11:54:02 -0400 >Subject: [PATCH] Bug 22421: (follow-up) Fix tests > >Need to search by old_issue_id instead of issue_id when checking the >value of an accountline after calling AddReturn on the linked checkout > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > 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 39b30dea556..82a93c7f0e8 100755 >--- a/t/db_dependent/Circulation.t >+++ b/t/db_dependent/Circulation.t >@@ -3701,7 +3701,7 @@ subtest 'AddReturn | is_overdue' => sub { > $lines = Koha::Account::Lines->search( > { > borrowernumber => $patron->borrowernumber, >- issue_id => $issue->id >+ old_issue_id => $issue->id > } > ); > $accountline = $lines->next; >-- >2.47.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 22421
:
85773
|
85774
|
85775
|
90352
|
90353
|
90354
|
90359
|
90360
|
90361
|
90362
|
90365
|
90366
|
90367
|
90368
|
161919
|
161920
|
161921
|
161922
|
161923
|
162244
|
162245
|
162246
|
162247
|
162248
|
166631
|
173287
|
173288
|
173289
|
173305
|
173790
|
173791
|
173792
|
173793
|
173794
|
173795
|
173796
|
173797
| 173798 |
173799
|
174281