diff options
Diffstat (limited to 't')
-rw-r--r-- | t/app/controller/report_updates.t | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/t/app/controller/report_updates.t b/t/app/controller/report_updates.t index 3c07ac054..8c34541ed 100644 --- a/t/app/controller/report_updates.t +++ b/t/app/controller/report_updates.t @@ -265,6 +265,13 @@ subtest "submit an update for a non registered user" => sub { is $update->user->email, 'unregistered@example.com', 'update email'; is $update->text, 'Update from an unregistered user', 'update text'; is $add_alerts, 0, 'do not sign up for alerts'; + + $mech->get_ok( $url . $url_token ); + $mech->content_contains( "/report/$report_id#$update_id" ); + + $update->discard_changes; + + is $update->state, 'confirmed', 'update confirmed'; }; for my $test ( |