diff --git a/tests/GooglePlacesTest.php b/tests/GooglePlacesTest.php index 95b5808..f0a6760 100644 --- a/tests/GooglePlacesTest.php +++ b/tests/GooglePlacesTest.php @@ -19,7 +19,7 @@ class GooglePlacesTest extends PHPUnit_Framework_TestCase private function clientSetUp($next = false) { - $client = $this->getMockBuilder('GooglePlacesClient', array('get')); + $client = $this->createMock('GooglePlacesClient', array('get')); $client ->expects($this->once())