aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/admin.t
diff options
context:
space:
mode:
authorAndy Lulham <a.lulham@gmail.com>2013-10-26 02:55:23 +0100
committerAndy Lulham <a.lulham@gmail.com>2013-10-26 02:55:23 +0100
commit431473eda8fb672d7a42d8ffce1dcee32b5f4d56 (patch)
treea9537739451de0c20456bb1532ccc0d7fc4cef86 /t/app/controller/admin.t
parented15f04422add5f8f9942c53e96debb0bdc6844a (diff)
One more external id-related test
Diffstat (limited to 't/app/controller/admin.t')
-rw-r--r--t/app/controller/admin.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t
index 12f1f7ff5..3633286ff 100644
--- a/t/app/controller/admin.t
+++ b/t/app/controller/admin.t
@@ -1035,6 +1035,9 @@ subtest 'report search' => sub {
my $r_id = $report->id;
$mech->content_like( qr{href="http://[^/]*[^.]/report/$r_id">$r_id</a>} );
+ $mech->get_ok('/admin/reports?search=' . $report->external_id);
+ $mech->content_like( qr{href="http://[^/]*[^.]/report/$r_id">$r_id</a>} );
+
$mech->get_ok('/admin/reports?search=ref:' . $report->external_id);
$mech->content_like( qr{href="http://[^/]*[^.]/report/$r_id">$r_id</a>} );