more scrutinizer-ci

This commit is contained in:
Ahmad Nassri
2014-12-18 00:08:12 -05:00
parent 97f51e1269
commit d004129842
2 changed files with 3 additions and 2 deletions

View File

@@ -353,7 +353,7 @@ class UnirestTest extends \PHPUnit_Framework_TestCase
public function testBasicAuthentication()
{
$response = Request::get('http://httpbin.org/get', null, array(), 'user', 'password');
$response = Request::get('http://httpbin.org/get', array(), array(), 'user', 'password');
$headers = $response->body->headers;
$this->assertEquals('Basic dXNlcjpwYXNzd29yZA==', $headers->Authorization);
}