Closed ikwattro closed 9 years ago
@Mulkave Please test this branch to see if it fits your needs ;-)
This test fails for me (used to pass):
$client = $this->getClient();
$q = 'CREATE (u:`User` {name: {name}, email: {email}}) RETURN u';
$params = ['name' => 'Abed Halawi', 'email' => 'halawi.abed@gmail.com'];
$response = $client->sendCypherQuery($q, $params, null, array('graph'));
$formatter = $this->getFormatter();
$result = $formatter->format($response);
$this->assertInstanceOf('Neoxygen\NeoClient\Formatter\Result', $result);
// The user is getting created successfully but never returned afterwards.
$this->assertArrayHasKey('User', $result->getNodes());
Any thoughts on this ?
Will test it
getNodes returns a collection of nodes, with numbers as keys
key=>true
instead ofkey=>value
pair