Zach Borboa
2d591c3b7c
Fix lingering temporary download file when using MultiCurl::addDownload() ( #602 )
2019-11-17 00:19:57 -08:00
Zach Borboa
f27059b170
Remove notice when request is made and test flag is not set.
...
Message:
PHP Notice: Undefined index: PHP_CURL_CLASS_TEST_MODE_ENABLED in
./php-curl-class/tests/PHPCurlClass/server.php on line 4
2019-07-18 19:06:52 -07:00
Zach Borboa
505663a55d
Use camelCase for ArrayUtil function names and deprecate old snake_case names
2019-06-09 22:26:18 -07:00
Zach Borboa
82b927bbcd
Add test for Curl::removeHeader()
2019-05-24 22:48:09 -07:00
Zach Borboa
76445a3c5a
Update server used in PHP 5.4, 5.5, and 5.6 tests.
...
This change updates the server used for PHP 5.4, 5.5, and 5.6 tests in
order to support SEARCH requests. Using the PHP built-in web server in
these versions errors with 501 Not Implemented / Request method not
supported.
2019-05-24 08:29:21 -07:00
Zach Borboa
130b7a3f37
Fix error: "add-apt-repository: command not found".
2019-05-24 05:28:52 -07:00
Zach Borboa
c894feda9f
Add test cases for the SEARCH method
2019-05-22 23:49:22 -07:00
Zach Borboa
8598deaa6f
Clean up
2019-05-17 05:01:13 -07:00
Zach Borboa
9a538f3a6b
Reduce number of ops
2019-05-12 21:13:10 -07:00
Zach Borboa
0857023319
Fix #572,#582: Add MultiCurl::setProxies() to make multicurl requests with multiple proxies
2019-05-12 01:01:57 -07:00
Zach Borboa
494d8a75a2
Add additional tests for MultiCurl proxy functions
2019-05-11 23:26:10 -07:00
Zach Borboa
1e615d340e
Replace usage of is_null() with strict comparison operator
2019-05-11 11:57:32 -07:00
Zach Borboa
52a8645872
Clean up
2019-05-11 09:33:01 -07:00
Zach Borboa
c36b2af2b0
Fix PHP 5.3 container test not completing successfully
2019-04-30 00:00:39 -07:00
Zach Borboa
9205c5fe67
Display debugging information and output more verbose information when running phpunit locally using test script
2019-04-25 22:31:08 -07:00
Zach Borboa
fd1fa390cd
Avoid container pulling host composer lock file which may cause downgrading installed libraries
2019-04-21 23:36:04 -07:00
Zach Borboa
ea0294f907
Fix phpunit test not completing when run in container
2019-04-21 23:34:26 -07:00
Zach Borboa
e46e9cffff
Update php73 container from 7.3-rc-cli to 7.3-cli
2019-04-21 22:29:44 -07:00
Zach Borboa
62d5390ad7
Fix #579 : Correct implementation of Curl::setProxyAuth()
2019-04-19 22:37:55 -07:00
Zach Borboa
c7eb389bb9
Add debugging
2019-04-19 22:31:44 -07:00
Zach Borboa
75ee4ec75e
Run tests with most recent version first
2019-04-19 21:57:53 -07:00
Zach Borboa
7dd4258e02
Fix #562 : Prevent direct execution of test server script unless testing
2019-01-05 12:09:03 -08:00
Zach Borboa
35a32a7a77
Fix #567 : Add proxy support for MultiCurl
2019-01-05 00:43:21 -08:00
Zach Borboa
39eba1dfa4
Add files to run php73 tests inside a docker container
2018-12-09 21:39:38 -08:00
Zach Borboa
896ef82246
Fix #560 : Run continuous integration tests on version 7.3
2018-12-09 20:01:47 -08:00
Zach Borboa
9edf5116a2
Merge pull request #558 from zachborboa/master
...
Add tests for content-length with DELETE requests
2018-11-29 23:15:55 -08:00
Zach Borboa
bf68fc30bd
Add tests for content-length with DELETE requests ( #557 )
2018-11-29 23:01:26 -08:00
Zach Borboa
1e70527da0
Update file mode bits
2018-11-29 22:10:48 -08:00
Zach Borboa
5c6fd4cdf3
Fix #555 : Remove temporary file when download fails
2018-11-08 08:27:47 -08:00
Zach Borboa
d4e5e4aae6
Delete extraneous files from destination when syncing library files inside containers
2018-11-08 07:38:10 -08:00
Zach Borboa
538524f09b
Clean up
2018-10-22 18:25:52 -07:00
Zach Borboa
6fc4c5824b
Fix #545 : Allow fileless requests to use Content-Type: multipart/form-data.
...
This change allows making requests that don't contain files to use
Content-Type: multipart/form-data. Previously, requests with array data
not specifying any files were sent using
Content-Type: application/x-www-form-urlencoded.
2018-09-07 23:53:02 -07:00
Zach Borboa
76137ca48f
Fix #538 : Allow objects implementing JsonSerializable to be serialized to JSON when passed as request data
2018-08-18 07:35:18 -07:00
Zach Borboa
6acf768078
Add files to run php53 tests inside a docker container
2018-08-01 23:03:48 -07:00
Zach Borboa
3b2f1db294
Add files to run php54 tests inside a docker container
2018-07-29 22:53:54 -07:00
Zach Borboa
e5634b86d2
Add files to run php55 tests inside a docker container
2018-07-29 22:20:19 -07:00
Zach Borboa
957bee4c76
Add script to run tests in all docker images
2018-07-29 00:14:56 -07:00
Zach Borboa
fb698471e6
Add files to run php72 tests inside a docker container
2018-07-28 23:12:38 -07:00
Zach Borboa
d82ff51e44
Add files to run php71 tests inside a docker container
2018-07-28 23:09:55 -07:00
Zach Borboa
5be7bd6aac
Add files to run php70 tests inside a docker container
2018-07-28 23:03:44 -07:00
Zach Borboa
7edaee784d
Add files to run php56 tests inside a docker container
2018-07-28 22:44:01 -07:00
Zach Borboa
26e6a966df
Add allowed error that occurs when running unit tests inside container
2018-07-28 13:40:33 -07:00
Zach Borboa
24e98595f0
Throw error when json_encode fails
2018-07-27 01:43:17 -07:00
Zach Borboa
86e12e3b91
Fix #331 : Add methods to use proxy
2018-07-17 04:29:25 -07:00
Zach Borboa
c5db809662
Allow tests to have mock-style indentation
2018-07-07 04:29:21 -07:00
Zach Borboa
c21970ff9a
Fix #303 : Add methods for mocking.
...
Thanks to Sven Lütje (B4rb4ross4) for the initial suggestion and pull
request.
2018-07-07 04:16:34 -07:00
Zach Borboa
bc1dd97917
Simplify test
2018-06-18 23:50:28 -07:00
Zach Borboa
463b2adc71
Reorder tests
2018-06-18 23:12:57 -07:00
Zach Borboa
2bb151e03d
Allow specifying xml decoder options when calling Curl::setDefaultXmlDecoder
2018-06-18 23:08:26 -07:00
Zach Borboa
e087a5c117
Clean up
2018-06-18 01:29:16 -07:00