Example #1
0
 /**
  * @covers Instaphp\Instagram\Locations::Search
  */
 public function testSearch()
 {
     $res = $this->object->search(['count' => 10, 'foursquare_v2_id' => $this->foursquarev2id]);
     $this->assertInstanceOf('\\Instaphp\\Instagram\\Response', $res);
     $this->assertNotEmpty($res->data);
     $res = $this->object->search(['lat' => $this->lat, 'lng' => $this->lng]);
     $this->assertInstanceOf('\\Instaphp\\Instagram\\Response', $res);
     $this->assertNotEmpty($res->data);
 }