Zach Borboa
51904c06e3
Simplify test for Curl::reset()
2018-06-04 23:03:32 -07:00
Reza Sanaie
9f34c2bf57
Allow support for curl_reset()
2018-06-04 10:21:22 -07:00
Zach Borboa
60917c1e8e
Use unset() to automatically call __destruct() when testing for a memory leak
2018-05-23 00:57:10 -07:00
Zach Borboa
fddd222575
Add additional possible error
2018-05-20 02:47:13 -07:00
Zach Borboa
d736b5652b
Add assertion messages to display unexpected error codes
2018-05-20 02:46:43 -07:00
Zach Borboa
90f4552563
Fix failure tests erroring during continuous integration tests with mismatching error codes.
...
Fixes "Failed asserting that 28 matches expected 55."
2018-04-29 02:25:01 -07:00
Zach Borboa
027ee67373
Fix failure tests erroring with mismatching error codes.
...
Fixes "Failed asserting that 35 matches expected 28."
2018-04-29 01:47:55 -07:00
Zach Borboa
3a6f673b83
Rename script to more accurately reflect actions taken
2018-04-29 01:05:40 -07:00
Zach Borboa
fa39f26a3a
Fix #517 : Require mbstring extension.
...
Use global namespace for mb_* functions.
2018-04-28 16:21:15 -07:00
Zach Borboa
fc054f6f41
Add script to generate compressed urls test file.
...
Omit the timestamp and the file name from the file header to make the
file deterministic.
Refresh the urls test file.
2018-04-28 02:09:14 -07:00
Zach Borboa
3839881735
Clean up
2018-04-28 01:01:10 -07:00
Zach Borboa
0985409467
Add script used to generate urls test file.
...
Thank you @woxcab for the script.
2018-04-28 00:46:55 -07:00
Zach Borboa
dd886611e6
Add script to start development servers for load test
2018-04-28 00:32:01 -07:00
Zach Borboa
03d773b916
Standardize calculating script directory
2018-04-27 23:56:51 -07:00
Zach Borboa
98ce5d3286
Use consistent naming convention
2018-04-27 23:54:34 -07:00
Zach Borboa
186d23a269
Use compressed file for url tests
2018-04-27 22:21:51 -07:00
Zach Borboa
db980204ff
Add additional url test
2018-04-27 21:57:37 -07:00
woxcab
c91d7a7d78
Erase base URL parts if their preceding parts have overwritten by relative URL
2018-04-27 23:27:35 +03:00
Zach Borboa
a969fabaa0
Fix #513 : Add support for detecting SOAP content-types
2018-04-26 17:59:23 -07:00
Zach Borboa
e240b43606
Fix #511 : Use correct body in POST requests that use empty data arrays.
...
This fixes JSON POST requests incorrectly sending a serialized empty
array "[]" instead of an empty request body by default.
2018-04-26 02:49:21 -07:00
Zach Borboa
6ccc08caf7
Run continuous integration tests on version 7.2
2018-04-23 02:20:48 -07:00
Zach Borboa
cfad5c4d3c
Fix #505 : Allow requests with Cyrillic characters in url
2018-04-20 01:03:05 -07:00
Zach Borboa
1d8c3f06da
Skip post-redirect-get test on hhvm-nightly
2018-01-27 06:28:51 -08:00
Zach Borboa
7d59f67756
Fix unit test failure due to unresolvable dependencies.
...
Error 1:
$ composer require phpunit/phpunit:5.7.*
Your requirements could not be resolved to an installable set of packages.
Error 2:
Fatal error: Uncaught Error: unknown class PHPUnit_Framework_TestCase in PHPCurlClassTest.php:9
2018-01-27 05:25:32 -08:00
Zach Borboa
40f7026185
Fix #493 : Build POST data correctly when headers have been set.
...
Call MultiCurl::queueHandle sooner so that headers are correctly set when Curl::buildPostData is called and builds POST data differently depending on the request content-type.
2018-01-26 00:58:37 -08:00
Zach Borboa
44c1539ba6
Fix decoders set on individual instances ignored
2018-01-25 22:49:57 -08:00
Zach Borboa
cbacd9a68b
Fix #490 : Allow malformed response header to be parsed without error
2018-01-09 01:58:51 -08:00
Zach Borboa
d0747c41a3
Enable error reporting when running PHPUnit tests (regardless of system's php.ini setting)
2018-01-09 01:39:12 -08:00
Zach Borboa
a470ce9cf1
Clean up
2017-10-12 23:27:17 -07:00
Zach Borboa
0347facabc
Allow spaces after comma
2017-10-11 00:20:13 -07:00
Zach Borboa
05a5af9b8e
Fix #472 : Reset request content-length to fix subsequent request hanging after a PUT request
2017-10-11 00:01:20 -07:00
Zach Borboa
ce9ff3c7ec
Fix #347 : Add basic support for requests using relative paths
2017-10-09 19:30:36 -07:00
Zach Borboa
b0b0c5f465
Clean up
2017-09-02 02:43:52 -07:00
Zach Borboa
4ec89be9bc
Allow setRetry() methods to use callables
2017-09-02 02:23:40 -07:00
Zach Borboa
0f1e16a6fa
Implement MultiCurl::setRetry()
2017-08-31 01:26:42 -07:00
Zach Borboa
3c3741f891
Implement Curl::setRetry()
2017-08-30 01:36:13 -07:00
Zach Borboa
96623ba839
Allow the test script to be run from outside the tests directory
2017-08-25 00:16:43 -07:00
Dane Westvik
cd08b5dee7
Support for urls with query parameters
2017-08-24 13:36:23 -07:00
Zach Borboa
95041d6c49
Run Digest Access Authentication test on HHVM
2017-07-03 01:59:27 -07:00
Zach Borboa
51aef1d3d6
Fix #449 : Fix hhvm builds failing.
...
Install latest nginx.
Replace install_fastcgi.sh which inserts "include hhvm.conf;" with inline configuration.
Copy server scripts to default nginx root instead of modifying folder and file permissions to fix nginx 404 File Not Found.
2017-07-02 01:52:46 -07:00
Zach Borboa
1e3ed2963c
Use composer's phpunit and phpcs
2017-06-29 06:28:10 -07:00
Zach Borboa
3302e7bb78
Use an older version of PHPUnit for HHVM builds
2017-06-29 05:28:32 -07:00
Zach Borboa
d04f0594e1
Add descriptive error messages when checks fail
2017-06-29 05:28:00 -07:00
Zach Borboa
c16ce49f4f
Add hhvm-nightly build and use trusty for hhvm builds
2017-06-28 04:43:48 -07:00
Zach Borboa
3b672a2131
Put expected arguments first
2017-05-02 23:31:43 -07:00
Zach Borboa
6bed5fb0bf
Fix #129 : Add PSR-2 coding style checks to continuous integration tests
2017-05-02 18:51:52 -07:00
Zach Borboa
eeaf3f9534
Clean up PSR-2 coding styles
2017-05-02 07:56:45 -07:00
Zach Borboa
a0802b309d
Clean up
2017-05-01 02:02:40 -07:00
Zach Borboa
316e18d52f
Fix exception namespace
2017-05-01 00:44:11 -07:00
Zach Borboa
ddac122a48
Fix php shim namespace
2017-05-01 00:20:53 -07:00