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.5
|
||||||
- 5.6
|
- 5.6
|
||||||
- hhvm
|
- hhvm
|
||||||
|
- hhvm-nightly
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- php: 5.6
|
- php: hhvm-nightly
|
||||||
- php: hhvm
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- composer install
|
- composer install
|
||||||
|
|
1
FUNDING.yml
Normal file
1
FUNDING.yml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
github: joshtronic
|
|
@ -9,7 +9,7 @@
|
||||||
"authors": [{
|
"authors": [{
|
||||||
"name": "Josh Sherman",
|
"name": "Josh Sherman",
|
||||||
"email": "josh@gravityblvd.com",
|
"email": "josh@gravityblvd.com",
|
||||||
"homepage": "https://github.com/joshtronic/php-googleplaces"
|
"homepage": "http://joshtronic.com"
|
||||||
}],
|
}],
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.0"
|
"php": ">=5.3.0"
|
||||||
|
|
|
@ -352,12 +352,12 @@ class GooglePlacesTest extends PHPUnit_Framework_TestCase
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @expectedException Exception
|
* @expectedException Exception
|
||||||
* @expectedExceptionMessage CURL Error: Could not resolve host: bar
|
* @expectedExceptionMessage CURL Error: Protocol yatp not supported or disabled in libcurl
|
||||||
*/
|
*/
|
||||||
public function testClientError()
|
public function testClientError()
|
||||||
{
|
{
|
||||||
$client = new joshtronic\GooglePlacesClient();
|
$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