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'); } }