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:
parent
737166ec8a
commit
2bc6f68f8d
@ -140,7 +140,8 @@ class CurlHandleTest extends \Guzzle\Tests\GuzzleTestCase
|
|||||||
"couldn't connect to host",
|
"couldn't connect to host",
|
||||||
'timeout was reached',
|
'timeout was reached',
|
||||||
'connection time-out',
|
'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');
|
$this->assertTrue(in_array(strtolower($h->getError()), $errors), $h->getError() . ' was not the error');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user