Skip to content

Commit 69bdabe

Browse files
webcatchersm1guelpf
authored andcommitted
Updated test
1 parent d7c225b commit 69bdabe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Gitlab/Tests/Api/RepositoriesTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,11 @@ public function shouldGetCommitsWithParams()
250250
$api = $this->getApiMock();
251251
$api->expects($this->once())
252252
->method('get')
253-
->with('projects/1/repository/commits', array('page' => 2, 'per_page' => 25, 'ref_name' => 'master'))
253+
->with('projects/1/repository/commits', array('page' => 2, 'per_page' => 25, 'ref_name' => 'master', 'all' => true, 'with_stats' => true))
254254
->will($this->returnValue($expectedArray))
255255
;
256256

257-
$this->assertEquals($expectedArray, $api->commits(1, ['page' => 2, 'per_page' => 25, 'ref_name' => 'master']));
257+
$this->assertEquals($expectedArray, $api->commits(1, ['page' => 2, 'per_page' => 25, 'ref_name' => 'master', 'all' => true, 'with_stats' => true]));
258258
}
259259

260260
/**

0 commit comments

Comments
 (0)