summaryrefslogtreecommitdiff
path: root/test/it_url.testserver.php
diff options
context:
space:
mode:
authorUrban Müller2024-04-18 18:17:42 +0200
committerUrban Müller2024-04-18 18:17:42 +0200
commit2946cad416b247327c033f61fda8270c6771248b (patch)
treee0ad6af34cc7d3c8c11e65dd637cac6284c91d79 /test/it_url.testserver.php
parent543b7b80cd17dd633f3bd961a358d509070aeabf (diff)
downloaditools-2946cad416b247327c033f61fda8270c6771248b.tar.gz
itools-2946cad416b247327c033f61fda8270c6771248b.tar.bz2
itools-2946cad416b247327c033f61fda8270c6771248b.zip
introduce empty_on_fail, get keepfailed to work
Diffstat (limited to 'test/it_url.testserver.php')
-rw-r--r--test/it_url.testserver.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/it_url.testserver.php b/test/it_url.testserver.php
index 978e4af..ca5300c 100644
--- a/test/it_url.testserver.php
+++ b/test/it_url.testserver.php
@@ -80,6 +80,11 @@ switch ($_SERVER['PHP_SELF'])
echo $iserror ? "failure" : "success";
break;
+ case "/not_found_with_body":
+ http_response_code(404);
+ echo 'Testserver 404 output';
+ break;
+
default:
http_response_code(404);
fwrite($stderr, "Unknown path '$_SERVER[PHP_SELF]' not handled!\n");