Compare commits
4 commits
unit-tests
...
master
Author | SHA1 | Date | |
---|---|---|---|
08c811efbe | |||
|
c72e2b06e1 | ||
|
4497b6c0b6 | ||
|
c4348eeb5d |
4 changed files with 6 additions and 5 deletions
|
@ -6,11 +6,11 @@ php:
|
|||
- 5.5
|
||||
- 5.6
|
||||
- hhvm
|
||||
- hhvm-nightly
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- php: 5.6
|
||||
- php: hhvm
|
||||
- php: hhvm-nightly
|
||||
|
||||
install:
|
||||
- composer install
|
||||
|
|
1
FUNDING.yml
Normal file
1
FUNDING.yml
Normal file
|
@ -0,0 +1 @@
|
|||
github: joshtronic
|
|
@ -9,7 +9,7 @@
|
|||
"authors": [{
|
||||
"name": "Josh Sherman",
|
||||
"email": "josh@gravityblvd.com",
|
||||
"homepage": "https://github.com/joshtronic/php-googleplaces"
|
||||
"homepage": "http://joshtronic.com"
|
||||
}],
|
||||
"require": {
|
||||
"php": ">=5.3.0"
|
||||
|
|
|
@ -352,12 +352,12 @@ class GooglePlacesTest extends PHPUnit_Framework_TestCase
|
|||
|
||||
/**
|
||||
* @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');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue