Add POST with data test

This commit is contained in:
php-curl-class
2013-08-19 12:05:20 -07:00
parent 9f470525a6
commit 2a5267b861
+3
View File
@@ -38,6 +38,9 @@ class CurlTest extends PHPUnit_Framework_TestCase {
public function testPost() {
$test = new Test();
$this->assertTrue($test->server('POST', 'server', 'REQUEST_METHOD') === 'POST');
$test = new Test();
$this->assertTrue($test->server('POST', 'post', 'test') === 'post');
}
public function testBasicHttpAuth() {