Commit 1ff272e 1 parent 84f7894 commit 1ff272e Copy full SHA for 1ff272e
File tree 2 files changed +3
-3
lines changed
perllib/Open311/Endpoint/Integration
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ sub _garden_subscription_cancel {
157
157
158
158
if ( $is_free -> {IsFree } eq ' False' ) {
159
159
my $res = $integration -> Cancel( {
160
- CustomerExternalReference => $args -> {attributes }{customer_reference },
160
+ CustomerExternalReference => $args -> {attributes }{customer_external_ref },
161
161
ServiceContractUPRN => $args -> {attributes }{uprn },
162
162
Reason => $args -> {attributes }{reason },
163
163
DueDate => $args -> {attributes }{due_date },
Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ subtest 'successfully cancel a garden subscription' => sub {
231
231
lat => 51,
232
232
long => -1,
233
233
' attribute[fixmystreet_id]' => 2000002,
234
- ' attribute[customer_reference ]' => ' customer_ABC' ,
234
+ ' attribute[customer_external_ref ]' => ' customer_ABC' ,
235
235
' attribute[uprn]' => ' 234_has_sub' ,
236
236
' attribute[reason]' => ' I used all my garden waste for a bonfire' ,
237
237
' attribute[due_date]' => ' 01/01/2025' ,
@@ -253,7 +253,7 @@ subtest 'try to cancel when no subscription' => sub {
253
253
lat => 51,
254
254
long => -1,
255
255
' attribute[fixmystreet_id]' => 2000002,
256
- ' attribute[customer_reference ]' => ' customer_ABC' ,
256
+ ' attribute[customer_external_ref ]' => ' customer_ABC' ,
257
257
' attribute[uprn]' => ' 123_no_sub' ,
258
258
' attribute[reason]' => ' I used all my garden waste for a bonfire' ,
259
259
' attribute[due_date]' => ' 01/01/2025' ,
You can’t perform that action at this time.
0 commit comments