-
-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include same-day data in pre-generated CSV exports
If a request for a CSV export includes the current day, stop the pre-generated export at midnight and switch to a live export for the current day.
- Loading branch information
Showing
4 changed files
with
22 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -662,7 +662,7 @@ subtest 'Dashboard CSV extra columns' => sub { | |
$mech->content_contains(',12345,,no,[email protected],,', "Bike number added to csv"); | ||
$mech->content_contains('"Council User",,,98756', "Stop code added to csv for all categories report"); | ||
$mech->get_ok('/dashboard?export=1&category=Bus+stops'); | ||
$mech->content_contains('"Council User",,98756', "Stop code added to csv for bus stop category report"); | ||
$mech->content_contains('"Council User",,,98756', "Stop code added to csv for bus stop category report"); | ||
|
||
$report->set_extra_fields({ name => 'leaning', value => 'Yes' }, { name => 'safety_critical', value => 'yes' }, | ||
{ name => 'stop_code', value => '98756' }, { name => 'Question', value => '12345' }); | ||
|