mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-30 04:01:47 +00:00
Add POST with data test
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user