diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-11-26 10:42:52 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-11-26 11:13:23 +0000 |
commit | 41576452fe7e5ccc73ec6a8ff9c2e675cd1806f3 (patch) | |
tree | f69d617eca8bd8bc19a71633921333f60d0b7528 /t/app | |
parent | 9b2202050226af4b632880865d2d5ac39878d9ef (diff) |
Consolidate user searching to one admin page.
Diffstat (limited to 't/app')
-rw-r--r-- | t/app/controller/admin.t | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t index 839bfd6b9..9ec15ec21 100644 --- a/t/app/controller/admin.t +++ b/t/app/controller/admin.t @@ -1066,9 +1066,8 @@ subtest 'report search' => sub { }; subtest 'search abuse' => sub { - $mech->get_ok( '/admin/search_abuse?search=example' ); - - $mech->content_contains('test4@example.com'); + $mech->get_ok( '/admin/search_users?search=example' ); + $mech->content_like(qr/test4\@example.com.*\n.*\n.*Email in abuse table/); }; subtest 'show flagged entries' => sub { |