Bugzilla – Attachment 192284 Details for
Bug 39438
Add additional fields to agreements periods
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39438: (follow-up) Remove agreement_id from periods before comparing to result
Bug-39438-follow-up-Remove-agreementid-from-period.patch (text/plain), 864 bytes, created by
Matt Blenkinsop
on 2026-02-02 09:30:24 UTC
(
hide
)
Description:
Bug 39438: (follow-up) Remove agreement_id from periods before comparing to result
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2026-02-02 09:30:24 UTC
Size:
864 bytes
patch
obsolete
>From 645bd99672f26df1457c265ebe1b323e7a27acf0 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> >Date: Mon, 2 Feb 2026 09:29:27 +0000 >Subject: [PATCH] Bug 39438: (follow-up) Remove agreement_id from periods > before comparing to result > >--- > t/db_dependent/Koha/ERM/Agreements.t | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/t/db_dependent/Koha/ERM/Agreements.t b/t/db_dependent/Koha/ERM/Agreements.t >index 4fd808eb34a..41e7aa91a47 100755 >--- a/t/db_dependent/Koha/ERM/Agreements.t >+++ b/t/db_dependent/Koha/ERM/Agreements.t >@@ -55,6 +55,8 @@ subtest 'periods' => sub { > > ]; > $agreement->periods($periods); >+ $periods = >+ [ map { delete $_->{agreement_id}; $_ } @{$periods} ]; > > my $retrieved_periods = $agreement->periods; > is( ref($retrieved_periods), 'Koha::ERM::Agreement::Periods' ); >-- >2.39.5
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 39438
:
188307
|
188778
|
188779
|
189021
|
189022
|
189023
|
191895
| 192284 |
192653