Skip to content

Commit

Permalink
Merge branch 'merton-ww' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed May 17, 2024
2 parents 5991406 + 7db7ade commit ca1e687
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion t/open311/endpoint/merton.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ service_to_event_type:
408: 1568
409: 1568
1565-add:
2238: 1565
405: 1565

data_key_open311_map:
First Name: 'first_name'
Expand Down
5 changes: 3 additions & 2 deletions t/open311/endpoint/merton_echo.t
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ use Test::MockModule;
use JSON::MaybeXS;

use constant EVENT_TYPE_MISSED => 'missed';
use constant EVENT_TYPE_ASSISTED => '1565-add';
use constant EVENT_TYPE_ASSISTED => 1565;
use constant EVENT_TYPE_MISSED_REFUSE => 1566;
use constant EVENT_TYPE_MISSED_RECYCLING => 1568;
use constant EVENT_TYPE_SUBSCRIBE => 1638;
Expand Down Expand Up @@ -303,7 +303,8 @@ subtest "POST a cancellation" => sub {

subtest "POST assisted collection OK" => sub {
my $res = $endpoint->run_test_request(@params,
service_code => EVENT_TYPE_ASSISTED,
service_code => EVENT_TYPE_ASSISTED . '-add',
'attribute[service_id]' => 2238,
'attribute[fixmystreet_id]' => 2000128,
'attribute[Crew_Notes]' => 'Notes',
);
Expand Down

0 comments on commit ca1e687

Please sign in to comment.