File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace Github \Tests \Api ;
4
4
5
- class IntegrationTest extends TestCase
5
+ class AppTest extends TestCase
6
6
{
7
7
/**
8
8
* @test
9
9
*/
10
- public function shouldFindRepositoriesForIntegration ()
10
+ public function shouldFindRepositoriesForApplication ()
11
11
{
12
12
$ result = ['installation1 ' , 'installation2 ' ];
13
13
14
14
$ api = $ this ->getApiMock ();
15
15
$ api ->expects ($ this ->once ())
16
16
->method ('get ' )
17
- ->with ('/integration /installations ' )
17
+ ->with ('/app /installations ' )
18
18
->willReturn ($ result );
19
19
20
20
$ this ->assertEquals ($ result , $ api ->findInstallations ());
@@ -68,6 +68,6 @@ public function shouldRemoveRepositoryToInstallation()
68
68
*/
69
69
protected function getApiClass ()
70
70
{
71
- return \Github \Api \Integrations ::class;
71
+ return \Github \Api \Apps ::class;
72
72
}
73
73
}
You can’t perform that action at this time.
0 commit comments