commit | c4be819463d3558cf606286127b18857c0102d2c | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Thu Oct 25 16:07:53 2018 +0200 |
committer | Akron <nils@diewald-online.de> | Thu Oct 25 16:07:53 2018 +0200 |
tree | 2e51f0db699887dbc906aa1042698ae51b5f0742 | |
parent | 73f36081cb2eb9ca60b6e6391b74bd69d77813b3 [diff] [blame] |
Add query parameter validation Change-Id: Ib0fa76faf0c70bb8373bf723f238c9e88b5b890a
diff --git a/t/match_info.t b/t/match_info.t index 7403d52..5d23887 100644 --- a/t/match_info.t +++ b/t/match_info.t
@@ -98,6 +98,11 @@ ->header_is('X-Kalamar-Cache', 'true') ; +# Check for validation error +$t->get_ok('/corpus/WPD15/232/39681/p2133-2134?spans=no') + ->status_is(400) + ->json_is('/notifications/0/1', 'Parameter "spans" invalid') + ; done_testing; __END__