aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-06-10 16:10:14 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-08-09 18:32:04 +0100
commit68461d28992628ff394e05d56ab3ab962d048db0 (patch)
tree94e85687003872d346d62f256ba1907b105dc0be /t/app/controller
parent6b36242db723267716552efee5a8e1ba88ed0e1c (diff)
abuse table search
Diffstat (limited to 't/app/controller')
-rw-r--r--t/app/controller/admin.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t
index 0acaffc8d..acbe17c1b 100644
--- a/t/app/controller/admin.t
+++ b/t/app/controller/admin.t
@@ -766,6 +766,12 @@ subtest 'report search' => sub {
$mech->content_like( qr{<tr [^>]*hidden[^>]*> \s* <td> \s* $r_id \s* </td>}xs );
};
+subtest 'search abuse' => sub {
+ $mech->get_ok( '/admin/search_abuse?search=example' );
+
+ $mech->content_contains('test4@example.com');
+};
+
$mech->delete_user( $user );
$mech->delete_user( $user2 );
$mech->delete_user( $user3 );