aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-10-24 12:22:52 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-10-24 12:22:52 +0100
commite60f549e4d27bbcc876a2f038817e81b18f9fc35 (patch)
treeb1a7e527a03167c249d0682bb6af8d65231bae5c /t/app/controller
parentddd8c2c00db2ab39601b66b60690a5e7c87c4c88 (diff)
parent44138e8bec4b7d16e32561a612b462955605b3c8 (diff)
Merge branch 'issues/forcouncils/67-mop-up'
Diffstat (limited to 't/app/controller')
-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 cfa76ebb3..f2047b8e5 100644
--- a/t/app/controller/report_inspect.t
+++ b/t/app/controller/report_inspect.t
@@ -58,7 +58,7 @@ FixMyStreet::override_config {
subtest "test inspect & instruct submission" => sub {
$report->unset_extra_metadata('inspected');
$report->update;
- my $reputation = $report->user->get_extra_metadata("reputation");
+ my $reputation = $report->user->get_extra_metadata("reputation") || 0;
$mech->get_ok("/report/$report_id");
$mech->submit_form_ok({ button => 'save', with_fields => { public_update => "This is a public update.", save_inspected => "1" } });
$report->discard_changes;