Skip to content

Commit

Permalink
Merge branch 'fd-5053-bromley-flytip-extra-info' into commercial-staging
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismytton committed Feb 5, 2025
2 parents a31e3af + 5f59fa3 commit 792276b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion perllib/FixMyStreet/Cobrand/Bromley.pm
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ sub open311_pre_send {
}
}

if (my $flytip_info = $row->get_extra_field_value('FLYT_NOT')) {
if (my $flytip_info = $row->get_extra_field_value('FLY_Q')) {
my $text = $row->detail . "\n\nFlytip information: " . $flytip_info;
$row->detail($text);
}
Expand Down
2 changes: 1 addition & 1 deletion t/cobrand/bromley.t
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ subtest 'Private comments on updates are added to open311 description' => sub {
};

subtest 'ensure flytip information is added to open311 description' => sub {
$report->set_extra_fields({ name => 'FLYT_NOT', value => 'Large sofa and household waste' });
$report->set_extra_fields({ name => 'FLY_Q', value => 'Large sofa and household waste' });
$report->send_state('unprocessed');
$report->update;

Expand Down

0 comments on commit 792276b

Please sign in to comment.