Skip to content

Commit

Permalink
[Kingston] Bulky field name changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Feb 4, 2025
1 parent 10b152a commit 549aab4
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions t/app/controller/waste_kands_bulky.t
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use Test::More skip_all => 'bulky not yet done';
use Test::MockModule;
use Test::MockTime qw(:all);
use FixMyStreet::TestMech;
Expand Down Expand Up @@ -477,11 +476,10 @@ FixMyStreet::override_config {
is $report->category, 'Bulky collection';
is $report->title, 'Bulky goods collection';
is $report->get_extra_field_value('uprn'), 1000000002;
is $report->get_extra_field_value('Collection_Date'), '2023-07-08T00:00:00';
is $report->get_extra_field_value('Bulky_Collection_Bulky_Items'), '3::85::83';
is $report->get_extra_field_value('Collection_Date_-_Bulky_Items'), '2023-07-08T00:00:00';
is $report->get_extra_field_value('TEM_-_Bulky_Collection_Item'), '3::85::83';
is $report->get_extra_field_value('property_id'), '12345';
is $report->get_extra_field_value('Customer_Selected_Date_Beyond_SLA?'), '0';
is $report->get_extra_field_value('First_Date_Returned_to_Customer'), '08/07/2023';
is $report->get_extra_field_value('First_Date_Offered_-_Bulky'), '08/07/2023';
like $report->get_extra_field_value('GUID'), qr/^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$/;
is $report->get_extra_field_value('reservation'), 'reserve5==';
is $report->photo, '74e3362283b6ef0c48686fb0e161da4043bbcc97.jpeg';
Expand Down Expand Up @@ -962,12 +960,5 @@ sub _contact_extra_data {
{ code => 'GUID' },
{ code => 'reservation' },
{ code => 'First_Date_Offered_-_Bulky' },
# Old columns, for changeover period
{ code => 'Payment_Type' },
{ code => 'Collection_Date' },
{ code => 'Bulky_Collection_Bulky_Items' },
{ code => 'Bulky_Collection_Notes' },
{ code => 'Customer_Selected_Date_Beyond_SLA?' },
{ code => 'First_Date_Returned_to_Customer' },
);
}

0 comments on commit 549aab4

Please sign in to comment.