aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/admin.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2015-08-13 14:06:28 +0100
committerMatthew Somerville <matthew@mysociety.org>2015-08-13 14:06:28 +0100
commitb5710b291fd44ea7cacb9487de08bd4deba07f59 (patch)
tree4add90ef2cd7f0dce6658e20c213dcbfa3384e43 /t/app/controller/admin.t
parent60b3ea26baca8010486fc00c9e60034295e495fd (diff)
parentd9e4afa5ee5e28566871d1ecfc363d547b85a7ed (diff)
Merge branch 'speed-up-things'
Diffstat (limited to 't/app/controller/admin.t')
-rw-r--r--t/app/controller/admin.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t
index 498f1cedc..e2dd5df19 100644
--- a/t/app/controller/admin.t
+++ b/t/app/controller/admin.t
@@ -88,7 +88,7 @@ subtest 'check summary counts' => sub {
FixMyStreet::App->model('DB::Problem')->search( { bodies_str => 2489 } )->update( { bodies_str => 1 } );
my $q = FixMyStreet::App->model('DB::Questionnaire')->find_or_new( { problem => $report, });
- $q->whensent( \'ms_current_timestamp()' );
+ $q->whensent( \'current_timestamp' );
$q->in_storage ? $q->update : $q->insert;
my $alerts = FixMyStreet::App->model('DB::Alert')->search( { confirmed => { '>' => 0 } } );