Making oschwald's style changes and fixing tests

This commit is contained in:
2015-03-20 19:18:55 -07:00
parent 6f776ffac1
commit 4ec525a313
4 changed files with 9 additions and 8 deletions
+4 -2
View File
@@ -451,15 +451,17 @@ class ClientTest extends \PHPUnit_Framework_TestCase
'request sets Accept header to GeoIP2 PHP API (Guzzle%s)'
);
$curlOptions = $request->getCurlOptions();
$this->assertEquals(
'27000',
$request->getCurlOptions()[CURLOPT_TIMEOUT_MS],
$curlOptions[CURLOPT_TIMEOUT_MS],
'request sets Curl Option Timeout to 27 seconds'
);
$this->assertEquals(
'72000',
$request->getCurlOptions()[CURLOPT_CONNECTTIMEOUT_MS],
$curlOptions[CURLOPT_CONNECTTIMEOUT_MS],
'request sets Curl Option Connect Timeout to 72 seconds'
);
}