diff options
Diffstat (limited to 't/open311/post-service-request-updates.t')
-rw-r--r-- | t/open311/post-service-request-updates.t | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/t/open311/post-service-request-updates.t b/t/open311/post-service-request-updates.t index 5c8211bbf..000bf3a2b 100644 --- a/t/open311/post-service-request-updates.t +++ b/t/open311/post-service-request-updates.t @@ -34,21 +34,26 @@ subtest 'Check Open311 params' => sub { is_deeply \%conf, { %$result, extended_statuses => 1, - use_extended_updates => 1, endpoints => { service_request_updates => 'update.xml', update => 'update.xml' }, + fixmystreet_body => $bromley, }, 'Bromley params match'; %conf = $o->open311_params($oxon); is_deeply \%conf, { %$result, - use_customer_reference => 1 + use_customer_reference => 1, + fixmystreet_body => $oxon, }, 'Oxfordshire params match'; %conf = $o->open311_params($bucks); is_deeply \%conf, { %$result, mark_reopen => 1, + fixmystreet_body => $bucks, }, 'Bucks params match'; %conf = $o->open311_params($lewisham); - is_deeply \%conf, $result, 'Lewisham params match'; + is_deeply \%conf, { + %$result, + fixmystreet_body => $lewisham, + }, 'Lewisham params match'; }; }; |