Skip to content

Commit 3d96eda

Browse files
daveadracos
authored andcommitted
fixup! [WW][Bexley] Agile garden subscription setup
1 parent 5f6b05e commit 3d96eda

File tree

2 files changed

+9
-4
lines changed
  • perllib/Open311/Endpoint/Service/UKCouncil
  • t/open311/endpoint

2 files changed

+9
-4
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ sub _build_attributes {
5555
automated => 'hidden_field',
5656
),
5757
Open311::Endpoint::Service::Attribute->new(
58-
code => 'payment_method',
58+
code => 'payment',
5959
description => 'Payment amount in pence',
6060
datatype => 'string',
6161
required => 0,

t/open311/endpoint/agile.t

+8-3
Original file line numberDiff line numberDiff line change
@@ -150,20 +150,25 @@ subtest 'GET service' => sub {
150150
description => 'Payment method: credit card or direct debit',
151151
order => 6,
152152
},
153+
{ %defaults,
154+
code => 'payment',
155+
description => 'Payment amount in pence',
156+
order => 7,
157+
},
153158
{ %defaults,
154159
code => 'reason',
155160
description => 'Cancellation reason',
156-
order => 7,
161+
order => 8,
157162
},
158163
{ %defaults,
159164
code => 'due_date',
160165
description => 'Cancellation date',
161-
order => 8,
166+
order => 9,
162167
},
163168
{ %defaults,
164169
code => 'customer_external_ref',
165170
description => 'Customer external ref',
166-
order => 9,
171+
order => 10,
167172
},
168173

169174
],

0 commit comments

Comments
 (0)