Another PHP 5.3 request

This commit is contained in:
Gregory Oschwald 2013-05-09 08:11:34 -07:00
parent bc867e8e84
commit a26d7525c4

View File

@ -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(),