diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-02-08 10:57:48 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-02-08 10:57:48 +0100 |
commit | 1e18ad9d38e0cf6e0e37d3c1ad66eace2bb82003 (patch) | |
tree | 589d6829e6eb0742f59b07ea976f4a290f96fa0e | |
parent | c302c5cc0143d96391aa544c15e4e0b64cba1182 (diff) |
tests: Fix php dev server being slow
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-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="" |