1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-25 10:33:18 +01:00

Add expected error string for ubuntu systems

This commit is contained in:
Konstantin Kopachev 2014-02-05 10:50:30 -08:00
parent 737166ec8a
commit 2bc6f68f8d

View File

@ -140,7 +140,8 @@ class CurlHandleTest extends \Guzzle\Tests\GuzzleTestCase
"couldn't connect to host",
'timeout was reached',
'connection time-out',
'connect() timed out!'
'connect() timed out!',
'failed connect to 127.0.0.1:123; connection refused'
);
$this->assertTrue(in_array(strtolower($h->getError()), $errors), $h->getError() . ' was not the error');