mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-28 11:09:26 +00:00
Separate PUT tests
This commit is contained in:
+3
-1
@@ -57,13 +57,15 @@ class CurlTest extends PHPUnit_Framework_TestCase {
|
||||
unlink($tmp_filename);
|
||||
}
|
||||
|
||||
public function testPut() {
|
||||
public function testPutRequestMethod() {
|
||||
$test = new Test();
|
||||
$this->assertTrue($test->server('PUT', array(
|
||||
'test' => 'server',
|
||||
'key' => 'REQUEST_METHOD',
|
||||
)) === 'PUT');
|
||||
}
|
||||
|
||||
public function testPutData() {
|
||||
$test = new Test();
|
||||
$this->assertTrue($test->server('PUT', array(
|
||||
'test' => 'put',
|
||||
|
||||
Reference in New Issue
Block a user