Update composer dependencies

This commit is contained in:
Kijin Sung 2017-06-29 23:39:23 +09:00
parent 49cc39e507
commit cbd324c35b
428 changed files with 17862 additions and 5885 deletions

6
vendor/rmccue/requests/tests/Auth/Basic.php vendored Executable file → Normal file
View file

@ -22,7 +22,7 @@ class RequestsTest_Auth_Basic extends PHPUnit_Framework_TestCase {
'auth' => array('user', 'passwd'),
'transport' => $transport,
);
$request = Requests::get('http://httpbin.org/basic-auth/user/passwd', array(), $options);
$request = Requests::get(httpbin('/basic-auth/user/passwd'), array(), $options);
$this->assertEquals(200, $request->status_code);
$result = json_decode($request->body);
@ -43,7 +43,7 @@ class RequestsTest_Auth_Basic extends PHPUnit_Framework_TestCase {
'auth' => new Requests_Auth_Basic(array('user', 'passwd')),
'transport' => $transport,
);
$request = Requests::get('http://httpbin.org/basic-auth/user/passwd', array(), $options);
$request = Requests::get(httpbin('/basic-auth/user/passwd'), array(), $options);
$this->assertEquals(200, $request->status_code);
$result = json_decode($request->body);
@ -65,7 +65,7 @@ class RequestsTest_Auth_Basic extends PHPUnit_Framework_TestCase {
'transport' => $transport,
);
$data = 'test';
$request = Requests::post('http://httpbin.org/post', array(), $data, $options);
$request = Requests::post(httpbin('/post'), array(), $data, $options);
$this->assertEquals(200, $request->status_code);
$result = json_decode($request->body);