Separate PUT tests

This commit is contained in:
php-curl-class
2013-08-21 15:17:17 -07:00
parent eaf8b14e16
commit 445f3d2e3a
+3 -1
View File
@@ -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',