Skip to content

Commit 4c9893f

Browse files
committed
make api compatible with 5.3
1 parent 01eb431 commit 4c9893f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tests/GraphBasicTest.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,13 @@ public function testCreateAndDeleteGraphs()
5656
*/
5757
public function testCreateAndDeleteGraphsWithDefintions()
5858
{
59-
60-
$ed1 = EdgeDefinition::createDirectedRelation("directed", ["lba", "blub"], ["bla", "blob"]);
59+
$param1 = array ();
60+
$param1[] = "lba";
61+
$param1[] = "blub";
62+
$param2 = array ();
63+
$param2[] = "bla";
64+
$param2[] = "blob";
65+
$ed1 = EdgeDefinition::createDirectedRelation("directed", $param1, $param2);
6166
$ed2 = EdgeDefinition::createUndirectedRelation("undirected", "singleV");
6267
$this->graph = new Graph();
6368
$this->graph->set('_key', 'Graph1');

0 commit comments

Comments
 (0)