Skip to content

Commit

Permalink
Updated CURL error test
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtronic committed Sep 20, 2014
1 parent dbd6610 commit c4348ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/GooglePlacesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
}

0 comments on commit c4348ee

Please sign in to comment.