private function executeGoogleNameQuery($query, $googleLocation) { $response = $this->googlePlaces->getPlaces($googleLocation, null, $query->category); return $this->parseGoogleResponse($response); }
/** @test */ public function it_gets_coordinates_from_search() { $result = $this->apiRepository->getCoordinates('London, ON'); $this->assertNotEmpty($result); }