Forward pipe to backend
Change-Id: Ia907f593d6ce4e329740c1e1a04c6eceaea92167
diff --git a/t/query.t b/t/query.t
index f6e588e..4cf5a06 100644
--- a/t/query.t
+++ b/t/query.t
@@ -257,7 +257,6 @@
->text_is('#special', 'Funny')
;
-
my $match = {
matchID => 'match-FOLK/00070-SE-01/T-04-p5441-5442',
textSigle => 'FOLK/00070-SE-01/T-04'
@@ -267,6 +266,13 @@
is($match->{matchID}, 'p5441-5442');
+# Query with pipe
+$t->get_ok('/?q=baum&pipe=glemm')
+ ->status_is(200)
+ ->text_is('#error','')
+ ->content_like(qr/\"pipe\":"glemm"/)
+ ;
+
done_testing;
__END__