diff options
-rw-r--r-- | application/tests/Test.php | 1 | ||||
-rwxr-xr-x | run-tests.sh | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/application/tests/Test.php b/application/tests/Test.php index 192061db9..e18aa9374 100644 --- a/application/tests/Test.php +++ b/application/tests/Test.php @@ -51,6 +51,7 @@ abstract class Test { curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_HTTPHEADER, array( "Accept: application/json", + "Expect: ", )); $result = curl_exec($curl); diff --git a/run-tests.sh b/run-tests.sh index 6c4ed2701..601ce872c 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -2,9 +2,7 @@ # # This runs the testsuite # -# If you have a local webserver call this script with it's URL. Otherwise the -# php dev server is used and that slows down tests a lot. -# +# If you have a local webserver you can call this script with it's URL. startdir="$(dirname "$0")" url="" |