1 parent 53c433d commit 46da271Copy full SHA for 46da271
1 file changed
test/Github/Tests/Api/IntegrationTest.php test/Github/Tests/Api/AppTest.phptest/Github/Tests/Api/IntegrationTest.php renamed to test/Github/Tests/Api/AppTest.php
@@ -2,19 +2,19 @@
2
3
namespace Github\Tests\Api;
4
5
-class IntegrationTest extends TestCase
+class AppTest extends TestCase
6
{
7
/**
8
* @test
9
*/
10
- public function shouldFindRepositoriesForIntegration()
+ public function shouldFindRepositoriesForApplication()
11
12
$result = ['installation1', 'installation2'];
13
14
$api = $this->getApiMock();
15
$api->expects($this->once())
16
->method('get')
17
- ->with('/integration/installations')
+ ->with('/app/installations')
18
->willReturn($result);
19
20
$this->assertEquals($result, $api->findInstallations());
@@ -68,6 +68,6 @@ public function shouldRemoveRepositoryToInstallation()
68
69
protected function getApiClass()
70
71
- return \Github\Api\Integrations::class;
+ return \Github\Api\Apps::class;
72
}
73
0 commit comments