From 445f3d2e3ade79f59931efaf05cdb585a7ccd8b6 Mon Sep 17 00:00:00 2001 From: php-curl-class Date: Wed, 21 Aug 2013 15:17:17 -0700 Subject: [PATCH] Separate PUT tests --- tests/run.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/run.php b/tests/run.php index 194a071..1223fa4 100644 --- a/tests/run.php +++ b/tests/run.php @@ -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',