Closed ikwattro closed 9 years ago
fixed by 0c5cc8b064023d2f40b47c444588393deaef01c2
Test :
/**
* @group issues
*/
public function testReportedIssue()
{
$this->emptyDatabase();
$state = '(:Property:Item:OtherLabel {id: 1})';
$this->prepareDatabase($state);
$q = 'MATCH (n:Property {id:1}) RETURN n as property, labels(n) as labels';
$result = $this->getConnection()->sendCypherQuery($q)->getResult();
$this->assertCount(3, $result->get('labels'));
$this->assertInstanceOf('Neoxygen\NeoClient\Formatter\Node', $result->get('property'));
}
Reported issue