Skip to content

Commit 1b056fd

Browse files
committed
- fixed php 5.3 test bug
1 parent 126cba6 commit 1b056fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/dHttpTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function testGetRequest()
3030
public function testPostRequest()
3131
{
3232
$http = new dHttp\Client('http://php.net');
33-
$resp = $http->post([], [CURLOPT_HEADER => true]);
33+
$resp = $http->post(array(), array(CURLOPT_HEADER => true));
3434

3535
$this->assertInstanceOf('dHttp\Response', $resp);
3636
$this->assertEquals($resp->getCode(), 200);

0 commit comments

Comments
 (0)