aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/report_inspect.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2019-05-03 10:47:33 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2019-05-03 10:47:33 +0100
commit654fb3942a04e53c09d7cf516c7bf6a3523d5557 (patch)
tree7149163310cd3da46c01ed67eb6e969307abb452 /t/app/controller/report_inspect.t
parent26d2bb9dddb0f9e10267ec47dbcb4a1571021a8b (diff)
parent5c06c6c6894a9094a8c60324ac000214964f5da8 (diff)
Merge branch 'moderation-dst-time'
Diffstat (limited to 't/app/controller/report_inspect.t')
-rw-r--r--t/app/controller/report_inspect.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/report_inspect.t b/t/app/controller/report_inspect.t
index 397dd1b00..ef05288c7 100644
--- a/t/app/controller/report_inspect.t
+++ b/t/app/controller/report_inspect.t
@@ -749,7 +749,7 @@ FixMyStreet::override_config {
# set the timezone on this so the date comparison below doesn't fail due to mismatched
# timezones
my $now = DateTime->now(
- time_zone => FixMyStreet->time_zone || FixMyStreet->local_time_zone
+ time_zone => FixMyStreet->local_time_zone
)->subtract(days => 1);
$mech->submit_form(button => 'save', form_id => 'report_inspect_form',
fields => { include_update => 1, public_update => 'An update', saved_at => $now->epoch });