Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes issues reported by Mulkave #13

Closed
wants to merge 7 commits into from
Closed

Fixes issues reported by Mulkave #13

wants to merge 7 commits into from

Conversation

ikwattro
Copy link
Member

@ikwattro
Copy link
Member Author

@Mulkave Please test this branch to see if it fits your needs ;-)

@Mulkave
Copy link
Member

Mulkave commented Oct 25, 2014

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 ?

@ikwattro
Copy link
Member Author

Will test it

@ikwattro
Copy link
Member Author

getNodes returns a collection of nodes, with numbers as keys

@ikwattro ikwattro closed this Oct 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants