mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-09-15 04:46:29 +00:00
Clean up
This commit is contained in:
+2
-1
@@ -6,7 +6,8 @@ use \Curl\Curl;
|
||||
// curl --request DELETE "https://httpbin.org/delete?key=value" --data "a=1&b=2&c=3"
|
||||
|
||||
$curl = new Curl();
|
||||
$curl->delete('https://httpbin.org/delete',
|
||||
$curl->delete(
|
||||
'https://httpbin.org/delete',
|
||||
array(
|
||||
'key' => 'value',
|
||||
),
|
||||
|
||||
@@ -711,7 +711,6 @@ class CurlTest extends PHPUnit_Framework_TestCase
|
||||
$filesize + 3,
|
||||
|
||||
) as $length) {
|
||||
|
||||
$source = Test::TEST_URL;
|
||||
$destination = Helper\get_tmp_file_path();
|
||||
|
||||
@@ -721,7 +720,6 @@ class CurlTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
// Start with $length bytes of file.
|
||||
} else {
|
||||
|
||||
// Simulate resuming partially downloaded temporary file.
|
||||
$partial_filename = $destination . '.pccdownload';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user