Skip to content

Commit

Permalink
fixup! [Bexley][WW] Implement call to Agile renewal
Browse files Browse the repository at this point in the history
  • Loading branch information
nephila-nacrea committed Feb 20, 2025
1 parent 39a9eaf commit 66a243b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions perllib/Open311/Endpoint/Service/UKCouncil/Agile.pm
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,14 @@ sub _build_attributes {
automated => 'hidden_field',
),

Open311::Endpoint::Service::Attribute->new(
code => 'type',
description => 'Denotes whether subscription request is a renewal or not',
datatype => 'string',
required => 0,
automated => 'hidden_field',
),

);

return \@attributes;
Expand Down
5 changes: 5 additions & 0 deletions t/open311/endpoint/agile.t
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,11 @@ subtest 'GET service' => sub {
description => 'Direct debit initial payment date',
order => 12,
},
{ %defaults,
code => 'type',
description => 'Denotes whether subscription request is a renewal or not',
order => 13,
},

],
}, 'correct json returned';
Expand Down

0 comments on commit 66a243b

Please sign in to comment.