philippkueng / node-neo4j

Neo4j REST API wrapper for Node.js
MIT License
211 stars 44 forks source link

Test suite does not succeed on Neo4j 2.3.0 #66

Open corporatepiyush opened 8 years ago

corporatepiyush commented 8 years ago

I am getting following error when i execute test case using node 4.2.2 and Neo4j 2.3.0

1) Testing Node specific operations for Neo4j => Create a Node -> A first simple valid node insertion with no labels should return the JSON for this node: Uncaught AssertionError: expected [Error: Response body is empty] to not exist at onlyResult (/Users/redpanda/work/github/node-neo4j/test/test.main.js:14:16) at /Users/redpanda/work/github/node-neo4j/test/test.main.js:65:21 at /Users/redpanda/work/github/node-neo4j/lib/main.js:52:6 at Request.callback (/Users/redpanda/work/github/node-neo4j/node_modules/superagent/lib/node/index.js:748:3) at Request. (/Users/redpanda/work/github/node-neo4j/node_modules/superagent/lib/node/index.js:135:10) at emitOne (events.js:77:13) at Request.emit (events.js:169:7) at IncomingMessage. (/Users/redpanda/work/github/node-neo4j/node_modules/superagent/lib/node/index.js:938:12) at emitNone (events.js:72:20) at IncomingMessage.emit (events.js:166:7) at endReadableNT (_stream_readable.js:905:12) at doNTCallback2 (node.js:441:9) at process._tickCallback (node.js:355:17)

2) Testing Node specific operations for Neo4j => Delete a Node "before all" hook: Uncaught AssertionError: expected [Error: Response body is empty] to not exist at onlyResult (/Users/redpanda/work/github/node-neo4j/test/test.main.js:14:16) at /Users/redpanda/work/github/node-neo4j/test/test.main.js:228:17 at /Users/redpanda/work/github/node-neo4j/lib/main.js:52:6 at Request.callback (/Users/redpanda/work/github/node-neo4j/node_modules/superagent/lib/node/index.js:748:3) at Request. (/Users/redpanda/work/github/node-neo4j/node_modules/superagent/lib/node/index.js:135:10) at emitOne (events.js:77:13) at Request.emit (events.js:169:7) at IncomingMessage. (/Users/redpanda/work/github/node-neo4j/node_modules/superagent/lib/node/index.js:938:12) at emitNone (events.js:72:20) at IncomingMessage.emit (events.js:166:7) at endReadableNT (_stream_readable.js:905:12) at doNTCallback2 (node.js:441:9) at process._tickCallback (node.js:355:17)