Skip to content

Commit 722a46c

Browse files
committed
Also fix the actual tests since it requires an array now
1 parent 3fbf0dd commit 722a46c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Github/Tests/Api/PullRequestTest.php

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function shouldGetOpenPullRequests()
3333
->with('repos/ezsystems/ezpublish/pulls', array('state' => 'open', 'per_page' => 30, 'page' => 1))
3434
->will($this->returnValue($expectedArray));
3535

36-
$this->assertEquals($expectedArray, $api->all('ezsystems', 'ezpublish', 'open'));
36+
$this->assertEquals($expectedArray, $api->all('ezsystems', 'ezpublish', array('state' => 'open'));
3737
}
3838

3939
/**
@@ -49,7 +49,7 @@ public function shouldGetClosedPullRequests()
4949
->with('repos/ezsystems/ezpublish/pulls', array('state' => 'closed', 'per_page' => 30, 'page' => 1))
5050
->will($this->returnValue($expectedArray));
5151

52-
$this->assertEquals($expectedArray, $api->all('ezsystems', 'ezpublish', 'closed'));
52+
$this->assertEquals($expectedArray, $api->all('ezsystems', 'ezpublish', array('state' => 'closed'));
5353
}
5454

5555
/**

0 commit comments

Comments
 (0)