Skip to content

Commit c58271a

Browse files
owencontim1guelpf
authored andcommitted
Fix test.
1 parent 72bf48c commit c58271a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/Gitlab/Tests/Api/RepositoriesTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ public function shouldUpdateRelease()
223223
*/
224224
public function shouldGetReleases()
225225
{
226+
$project_id = 1;
227+
226228
$expectedArray = array(
227229
array(
228230
'tag_name' => 'v0.2',
@@ -238,7 +240,7 @@ public function shouldGetReleases()
238240
->will($this->returnValue($expectedArray))
239241
;
240242

241-
$this->assertEquals($expectedArray, $api->releases());
243+
$this->assertEquals($expectedArray, $api->releases($project_id));
242244
}
243245

244246
/**

0 commit comments

Comments
 (0)