aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/report_new_anon.t
diff options
context:
space:
mode:
Diffstat (limited to 't/app/controller/report_new_anon.t')
-rw-r--r--t/app/controller/report_new_anon.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/app/controller/report_new_anon.t b/t/app/controller/report_new_anon.t
index bd73a2b70..b14814f59 100644
--- a/t/app/controller/report_new_anon.t
+++ b/t/app/controller/report_new_anon.t
@@ -202,6 +202,7 @@ subtest "test report creation anonymously by staff user" => sub {
is $report->name, 'Anonymous Button';
is $report->anonymous, 1;
is $report->get_extra_metadata('contributed_as'), 'anonymous_user';
+ is $report->get_extra_metadata('contributed_by'), $staffuser->id;
my $alert = FixMyStreet::DB->resultset('Alert')->find( {
user => $report->user,