Skip to content

Commit b48e005

Browse files
committed
make api compatible with 5.3
1 parent e0d8154 commit b48e005

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tests/GeneralGraphExtendedTest.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,16 @@ public function setUp()
3030
$this->v5 = "v5" . $v;
3131
$this->e1 = "e1" . $v;
3232
$this->e2 = "e2" . $v;
33+
$param1 = array();
34+
$param1[] = $this->v1;
35+
$param1[] = $this->v2;
36+
$param2 = array();
37+
$param2[] = $this->v3;
38+
$param2[] = $this->v4;
3339
$ed1 = EdgeDefinition::createDirectedRelation(
3440
$this->e1,
35-
[$this->v1, $this->v2],
36-
[$this->v3, $this->v4]
41+
$param1,
42+
$param2
3743
);
3844
$ed2 = EdgeDefinition::createUndirectedRelation(
3945
$this->e2, $this->v5

0 commit comments

Comments
 (0)