Skip to content

Commit aef528a

Browse files
committed
Separate POST Content-Type test
1 parent 063a5b1 commit aef528a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/PHPCurlClass/PHPCurlClassTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,12 +466,15 @@ public function testNestedData()
466466
);
467467
}
468468

469-
public function testPostContentTypes()
469+
public function testPostUrlEncodedContentType()
470470
{
471471
$test = new Test();
472472
$test->server('server', 'POST', 'foo=bar');
473473
$this->assertEquals($test->curl->request_headers['Content-Type'], 'application/x-www-form-urlencoded');
474+
}
474475

476+
public function testPostFormDataContentType()
477+
{
475478
$test = new Test();
476479
$test->server('server', 'POST', array(
477480
'foo' => 'bar',

0 commit comments

Comments
 (0)