aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/dashboard.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-09-24 14:08:05 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-10-03 16:41:28 +0100
commitc50a525da9c8ec5267c4ba9498e4334b87fe851b (patch)
treed0cb4fcadcd49618d1ab23bb23434c4189606c84 /t/app/controller/dashboard.t
parent4186ebbc258326d05915bef0ffb15cd364f6be67 (diff)
Add two fields to dashboard CSV export.
Diffstat (limited to 't/app/controller/dashboard.t')
-rw-r--r--t/app/controller/dashboard.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/app/controller/dashboard.t b/t/app/controller/dashboard.t
index b53056968..598898e9f 100644
--- a/t/app/controller/dashboard.t
+++ b/t/app/controller/dashboard.t
@@ -154,7 +154,7 @@ FixMyStreet::override_config {
}
is scalar @rows, 19, '1 (header) + 18 (reports) = 19 lines';
- is scalar @{$rows[0]}, 18, '18 columns present';
+ is scalar @{$rows[0]}, 20, '20 columns present';
is_deeply $rows[0],
[
@@ -176,6 +176,8 @@ FixMyStreet::override_config {
'Easting',
'Northing',
'Report URL',
+ 'Site Used',
+ 'Reported As',
],
'Column headers look correct';