1
0
Fork 0

fixed test

This commit is contained in:
Jan Steemann 2016-03-23 19:13:03 +01:00
parent f7faf536eb
commit ecbd17b992
1 changed files with 1 additions and 1 deletions

View File

@ -343,7 +343,7 @@ function GraphBasicsSuite() {
graph.addEdge(v1, v2, "my-edge");
graph.replaceEdge("my-edge", { _from: v1, _to: v2, weight: 2 });
graph.replaceEdge("my-edge", { _from: v1._properties._id, _to: v2._properties._id, weight: 2 });
edge = graph.getEdge("my-edge");
assertEqual(2, edge.getProperty("weight"));