diff --git a/src/Api/Integrations.php b/src/Api/Integrations.php index 118aefc6..2d5d1052 100644 --- a/src/Api/Integrations.php +++ b/src/Api/Integrations.php @@ -27,6 +27,7 @@ class Integrations extends AbstractApi public function all($project_id) { $path = $this->getProjectPath($project_id, 'integrations'); + return $this->get($path); } @@ -168,7 +169,6 @@ public function removeMicrosoftTeams($project_id) return $this->delete($this->getProjectPath($project_id, 'integrations/microsoft-teams')); } - // JIRA /** diff --git a/src/Api/Projects.php b/src/Api/Projects.php index 71574eed..a8c8d29c 100644 --- a/src/Api/Projects.php +++ b/src/Api/Projects.php @@ -1833,7 +1833,6 @@ public function search($id, array $parameters = []) return $this->get('projects/'.self::encodePath($id).'/search', $resolver->resolve($parameters)); } - /** * @param int|string $project_id * diff --git a/tests/Api/IntegrationsTest.php b/tests/Api/IntegrationsTest.php index f6a54160..f62186e7 100644 --- a/tests/Api/IntegrationsTest.php +++ b/tests/Api/IntegrationsTest.php @@ -15,7 +15,6 @@ namespace Gitlab\Tests\Api; use Gitlab\Api\Integrations; -use Gitlab\Api\Projects; class IntegrationsTest extends TestCase {