From 2bc6f68f8d21522ad7fe5f5b33f8d7fdfb20dcf7 Mon Sep 17 00:00:00 2001 From: Konstantin Kopachev Date: Wed, 5 Feb 2014 10:50:30 -0800 Subject: [PATCH] Add expected error string for ubuntu systems --- tests/Guzzle/Tests/Http/Curl/CurlHandleTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Guzzle/Tests/Http/Curl/CurlHandleTest.php b/tests/Guzzle/Tests/Http/Curl/CurlHandleTest.php index e9eab1d8..a43ca508 100644 --- a/tests/Guzzle/Tests/Http/Curl/CurlHandleTest.php +++ b/tests/Guzzle/Tests/Http/Curl/CurlHandleTest.php @@ -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');