Skip to content

Commit 7128c32

Browse files
fixup! [Bexley][WW] Implement call to Agile renewal
1 parent d06ed4f commit 7128c32

File tree

2 files changed

+13
-0
lines changed
  • perllib/Open311/Endpoint/Service/UKCouncil
  • t/open311/endpoint

2 files changed

+13
-0
lines changed

perllib/Open311/Endpoint/Service/UKCouncil/Agile.pm

+8
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,14 @@ sub _build_attributes {
101101
automated => 'hidden_field',
102102
),
103103

104+
Open311::Endpoint::Service::Attribute->new(
105+
code => 'type',
106+
description => 'Denotes whether subscription request is a renewal or not',
107+
datatype => 'string',
108+
required => 0,
109+
automated => 'hidden_field',
110+
),
111+
104112
);
105113

106114
return \@attributes;

t/open311/endpoint/agile.t

+5
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,11 @@ subtest 'GET service' => sub {
180180
description => 'Direct debit initial payment date',
181181
order => 12,
182182
},
183+
{ %defaults,
184+
code => 'type',
185+
description => 'Denotes whether subscription request is a renewal or not',
186+
order => 13,
187+
},
183188

184189
],
185190
}, 'correct json returned';

0 commit comments

Comments
 (0)