Skip to content

Commit 34bf650

Browse files
committed
Improve test.
1 parent 739e435 commit 34bf650

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tests/GraphNodes/GraphEdgeTest.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,10 @@ public function testCanMapOverNodes()
102102
{
103103
$graphEdge = new GraphEdge(
104104
$this->request,
105-
[new GraphNode(['name' => 'dummy'])],
105+
[
106+
new GraphNode(['name' => 'dummy']),
107+
new GraphNode(['name' => 'dummy']),
108+
],
106109
['paging' => $this->pagination],
107110
'/1234567890/likes'
108111
);
@@ -114,7 +117,10 @@ public function testCanMapOverNodes()
114117

115118
$graphEdgeToCompare = new GraphEdge(
116119
$this->request,
117-
[new GraphNode(['name' => 'foo'])],
120+
[
121+
new GraphNode(['name' => 'foo']),
122+
new GraphNode(['name' => 'foo'])
123+
],
118124
['paging' => $this->pagination],
119125
'/1234567890/likes'
120126
);

0 commit comments

Comments
 (0)