Another PHP 5.3 request
This commit is contained in:
parent
bc867e8e84
commit
a26d7525c4
|
@ -277,8 +277,9 @@ class ClientTest extends \PHPUnit_Framework_TestCase
|
|||
);
|
||||
$client->country('1.2.3.4');
|
||||
|
||||
$request = $plugin->getReceivedRequests()[0];
|
||||
|
||||
$all_requests = $plugin->getReceivedRequests();
|
||||
$request = $all_requests[0];
|
||||
|
||||
$this->assertEquals(
|
||||
'https://geoip.maxmind.com/geoip/v2.0/country/1.2.3.4',
|
||||
$request->getUrl(),
|
||||
|
|
Loading…
Reference in New Issue
Block a user