Skip to content

Commit 46da271

Browse files
authored
Update tests
1 parent 53c433d commit 46da271

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/Github/Tests/Api/IntegrationTest.php renamed to test/Github/Tests/Api/AppTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22

33
namespace Github\Tests\Api;
44

5-
class IntegrationTest extends TestCase
5+
class AppTest extends TestCase
66
{
77
/**
88
* @test
99
*/
10-
public function shouldFindRepositoriesForIntegration()
10+
public function shouldFindRepositoriesForApplication()
1111
{
1212
$result = ['installation1', 'installation2'];
1313

1414
$api = $this->getApiMock();
1515
$api->expects($this->once())
1616
->method('get')
17-
->with('/integration/installations')
17+
->with('/app/installations')
1818
->willReturn($result);
1919

2020
$this->assertEquals($result, $api->findInstallations());
@@ -68,6 +68,6 @@ public function shouldRemoveRepositoryToInstallation()
6868
*/
6969
protected function getApiClass()
7070
{
71-
return \Github\Api\Integrations::class;
71+
return \Github\Api\Apps::class;
7272
}
7373
}

0 commit comments

Comments
 (0)