Skip to content

Commit

Permalink
Merge branch 'bexley-wasteworks-change-missed-collections-text' into …
Browse files Browse the repository at this point in the history
…commercial-staging
  • Loading branch information
chrismytton committed Jun 4, 2024
2 parents f8d7b06 + 035bad6 commit 0feb571
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions t/app/controller/waste_bexley.t
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,16 @@ FixMyStreet::override_config {

RoundSchedule => 'RND-8-9 Mon, RND-8-9 Wed',
},
{ SiteServiceID => 6,
ServiceItemDescription => 'Service 6',
ServiceItemName => 'RES-CHAM', # Residual Chamberlain

NextCollectionDate => '2024-05-01T00:00:00',
SiteServiceValidFrom => '2024-03-31T00:59:59',
SiteServiceValidTo => '0001-01-01T00:00:00',

RoundSchedule => 'RND-6 Wed Wk 2',
},
];
} );
$whitespace_mock->mock( 'GetInCabLogsByUsrn', sub { [] } );
Expand All @@ -461,6 +471,7 @@ FixMyStreet::override_config {
$mech->content_contains('Being collected today');
$mech->content_lacks('Reported as collected today');
$mech->content_lacks('Could not be collected today because it was red-tagged. See reason below.');
$mech->content_contains('Please note that missed collections can only be reported within 3 working days of your last collection day');

# Set time to later in the day
set_fixed_time('2024-04-01T16:01:00'); # April 1st, 17:01 BST
Expand Down
2 changes: 1 addition & 1 deletion templates/web/bexley/waste/_service_missed.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
<input type="submit" value="Report a [% unit.service_name FILTER lower %] collection as missed" class="waste-service-descriptor waste-service-link">
</form>
[% ELSIF NOT no_default %]
<span class="waste-service-descriptor">Please note that missed collections can only be reported within 3 working days of your scheduled collection day.</span>
<span class="waste-service-descriptor">Please note that missed collections can only be reported within 3 working days of your last collection day.</span>
[% END %]

0 comments on commit 0feb571

Please sign in to comment.