commit | f44a0a2ce0f4233fc67ee66b15c91ca2b7cc846a | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Thu Jul 05 11:19:49 2018 +0200 |
committer | Akron <nils@diewald-online.de> | Thu Jul 05 11:19:49 2018 +0200 |
tree | 799759c46bbf08e5801dc34a3b5780934818fbe1 | |
parent | 5746ecfe26752bad3b6d4e14c0840d8c6ed33a79 [diff] |
Test for broken query responses with BAD REQUEST status Change-Id: Iba7b544f8cd5d8eaa403d3de0b5dc259a81a8766
diff --git a/t/remote.t b/t/remote.t index 4828b85..e86783e 100644 --- a/t/remote.t +++ b/t/remote.t
@@ -54,5 +54,12 @@ ->text_is('.notify-error', '500: Internal Server Error (remote)') ; + +# Check for query error +$t->get_ok('/?q=[orth=das&ql=poliqarp') + ->element_exists('.notify-error') + ->text_is('.notify-error', '302: Parantheses/brackets unbalanced.') + ; + done_testing; __END__