Updating deprecated method call

This commit is contained in:
Josh Sherman 2017-05-28 18:26:41 -05:00
parent 4f7846d20d
commit efe5d360d9
No known key found for this signature in database
GPG key ID: 55B058A80530EF22

View file

@ -19,7 +19,7 @@ class GooglePlacesTest extends PHPUnit_Framework_TestCase
private function clientSetUp($next = false) private function clientSetUp($next = false)
{ {
$client = $this->getMock('GooglePlacesClient', array('get')); $client = $this->getMockBuilder('GooglePlacesClient', array('get'));
$client $client
->expects($this->once()) ->expects($this->once())