summaryrefslogtreecommitdiff
path: root/tests/it_url.testserver.php
diff options
context:
space:
mode:
authorNathan Gass2017-08-17 14:54:37 +0200
committerNathan Gass2017-08-17 14:54:37 +0200
commit2f68913fecf3a1d7d9b3eedfaeca35665c6372f5 (patch)
treefdae8048bc56e015986ea46b85d2d52b8618b9d0 /tests/it_url.testserver.php
parentc538a7a9159454aa0c2114ace81f5f15f154dece (diff)
downloaditools-2f68913fecf3a1d7d9b3eedfaeca35665c6372f5.tar.gz
itools-2f68913fecf3a1d7d9b3eedfaeca35665c6372f5.tar.bz2
itools-2f68913fecf3a1d7d9b3eedfaeca35665c6372f5.zip
testserver returns 404 on unknown path, better reflect intended retry behaviour in tests and test descriptions
Diffstat (limited to 'tests/it_url.testserver.php')
-rw-r--r--tests/it_url.testserver.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/it_url.testserver.php b/tests/it_url.testserver.php
index 8763d6f..0fb3252 100644
--- a/tests/it_url.testserver.php
+++ b/tests/it_url.testserver.php
@@ -61,5 +61,6 @@ switch ($_SERVER['PHP_SELF'])
break;
default:
+ http_response_code(404);
fwrite($stderr, "Unknown path '$_SERVER[PHP_SELF]' not handled!\n");
}