From c4348eeb5d41ad2483b11e81fe1c5664a61246cd Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Sat, 20 Sep 2014 01:54:41 -0400 Subject: [PATCH] Updated CURL error test --- tests/GooglePlacesTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/GooglePlacesTest.php b/tests/GooglePlacesTest.php index 7393ada..2d0b401 100644 --- a/tests/GooglePlacesTest.php +++ b/tests/GooglePlacesTest.php @@ -352,12 +352,12 @@ public function testNearbySearchProximitySubradiusDivisionError() /** * @expectedException Exception - * @expectedExceptionMessage CURL Error: Could not resolve host: bar + * @expectedExceptionMessage CURL Error: Protocol yatp not supported or disabled in libcurl */ public function testClientError() { $client = new joshtronic\GooglePlacesClient(); - $client->get('http://foo@bar:google.com'); + $client->get('yatp://foo@bar'); } }