diff options
Diffstat (limited to 't/app/controller/admin.t')
-rw-r--r-- | t/app/controller/admin.t | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t index 4bfdd7821..25e921a4f 100644 --- a/t/app/controller/admin.t +++ b/t/app/controller/admin.t @@ -944,6 +944,12 @@ subtest 'report search' => sub { $mech->get_ok('/admin/search_reports?search=' . $report->user->email); $mech->content_like( qr{<tr [^>]*hidden[^>]*> \s* <td> \s* $r_id \s* </td>}xs ); + + $report->state('fixed - user'); + $report->update; + + $mech->get_ok('/admin/search_reports?search=' . $report->user->email); + $mech->content_like( qr{href="http://[^/]*[^.]/report/$r_id/">$r_id</a>} ); }; subtest 'search abuse' => sub { |