aboutsummaryrefslogtreecommitdiffstats
path: root/t/cobrand
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-12-09 14:02:21 +0000
committerDave Arter <davea@mysociety.org>2019-12-09 15:33:34 +0000
commit71c75504ea249b167d04bc9f5715d832716acec7 (patch)
treeac5cba2661123153bc7623f1560749f8ed86ae09 /t/cobrand
parente333bac30cf1a125b1afdbf78cac657de068a8bf (diff)
[TfL] Restrict reports on cobrand to post go-live.
Diffstat (limited to 't/cobrand')
-rw-r--r--t/cobrand/tfl.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/cobrand/tfl.t b/t/cobrand/tfl.t
index 86ab5a6f3..287a8c98e 100644
--- a/t/cobrand/tfl.t
+++ b/t/cobrand/tfl.t
@@ -521,6 +521,12 @@ subtest 'check report age on /around' => sub {
$mech->get_ok( '/around?lat=' . $report->latitude . '&lon=' . $report->longitude );
$mech->content_lacks($report->title);
+
+ $report->update({
+ confirmed => \"current_timestamp",
+ whensent => \"current_timestamp",
+ lastupdate => \"current_timestamp",
+ });
};
subtest 'TfL admin allows inspectors to be assigned to borough areas' => sub {