We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1174d7 commit 0bd3cd4Copy full SHA for 0bd3cd4
lib/Gitlab/Api/Jobs.php
@@ -18,7 +18,7 @@ class Jobs extends AbstractApi
18
* @param array $scope
19
* @return mixed
20
*/
21
- public function jobs($project_id, array $scope = [])
+ public function all($project_id, array $scope = [])
22
{
23
return $this->get("projects/".$this->encodePath($project_id)."/jobs", array(
24
'scope' => $scope
test/Gitlab/Tests/Api/JobsTest.php
@@ -24,7 +24,7 @@ public function shouldGetAllJobs()
->will($this->returnValue($expectedArray))
25
;
26
27
- $this->assertEquals($expectedArray, $api->jobs(1, [Jobs::SCOPE_PENDING]));
+ $this->assertEquals($expectedArray, $api->all(1, [Jobs::SCOPE_PENDING]));
28
}
29
30
/**
0 commit comments