diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-01-28 11:52:39 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-01-28 11:52:39 +0000 |
commit | 441debff0a773697859c528abbafbe2dd08cbd97 (patch) | |
tree | 408c7fefb2caa24feb666c98ed1dcec35bc53263 /t/app/controller/report_updates.t | |
parent | 086031a5396c02c1d4cb96ad69e648aacd92df45 (diff) |
Improve tests to not assume BASE_URL is localhost, and remove couple of warnings.
Diffstat (limited to 't/app/controller/report_updates.t')
-rw-r--r-- | t/app/controller/report_updates.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/report_updates.t b/t/app/controller/report_updates.t index 7d88a2d4f..bb88dcf05 100644 --- a/t/app/controller/report_updates.t +++ b/t/app/controller/report_updates.t @@ -750,7 +750,7 @@ subtest "check comment with no status change has not status in meta" => sub { like $update_meta->[2], qr/marked as investigating/, 'third update meta says investigating'; my $dt = DateTime->now->add( seconds => 1 ); - my $comment = FixMyStreet::App->model('DB::Comment')->find_or_create( + $comment = FixMyStreet::App->model('DB::Comment')->find_or_create( { problem_id => $report_id, user_id => $user->id, |