From 7e780f1177fc4a1901be0a2d324408bfc9aecf53 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Wed, 6 Mar 2024 18:05:06 +0000 Subject: [PATCH] [Bromley] Hide frequency line from bin day output. --- perllib/FixMyStreet/Cobrand/Bromley.pm | 3 ++- t/app/controller/waste.t | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/perllib/FixMyStreet/Cobrand/Bromley.pm b/perllib/FixMyStreet/Cobrand/Bromley.pm index 9aea5ac1085..3fc937b41c0 100644 --- a/perllib/FixMyStreet/Cobrand/Bromley.pm +++ b/perllib/FixMyStreet/Cobrand/Bromley.pm @@ -698,7 +698,8 @@ sub bin_services_for_address { service_task_id => $servicetask->{Id}, service_task_name => $servicetask->{TaskTypeName}, service_task_type_id => $servicetask->{TaskTypeId}, - schedule => $schedules->{description}, + # FD-3942 - comment this out so Frequency not shown in front end + # schedule => $schedules->{description}, last => $schedules->{last}, next => $schedules->{next}, end_date => $schedules->{end_date}, diff --git a/t/app/controller/waste.t b/t/app/controller/waste.t index a3ee42ea746..53bc53d4c6c 100644 --- a/t/app/controller/waste.t +++ b/t/app/controller/waste.t @@ -129,7 +129,7 @@ FixMyStreet::override_config { $mech->submit_form_ok({ with_fields => { address => '12345' } }); $mech->content_contains('2 Example Street'); $mech->content_contains('Food Waste'); - $mech->content_contains('every other Monday'); + # $mech->content_contains('every other Monday'); }; subtest 'Thing already requested' => sub { $mech->content_contains('A food waste collection has been reported as missed');