commit | cce055c8ceb6c98b910b61331743bf113c69b4ee | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Fri Jul 02 12:18:03 2021 +0200 |
committer | Akron <nils@diewald-online.de> | Fri Jul 02 12:18:03 2021 +0200 |
tree | e31f148e13abfce87a12d93d59bf99bd60be557f | |
parent | f21bf74ac624811733fda786667f16002cf04f79 [diff] [blame] |
Fix error message in case of server error Change-Id: I72528fea917f91d16b3fee8cb4c47282b9b08556
diff --git a/t/query.t b/t/query.t index d3f0cd3..50d81b1 100644 --- a/t/query.t +++ b/t/query.t
@@ -225,6 +225,12 @@ ->text_is('#total-results', '> 4,274,841'); ; +# Query with error +$t->get_ok('/?q=error') + ->status_is(400) + ->text_is('#notifications .notify-error','500: Internal Server Error') +; + # Do not cache $t->get_ok('/?q=timeout') ->status_is(200)