File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1717class AppConfigTest extends TestCase {
1818 /** @var IConfig|MockObject */
1919 private $ config ;
20- /** @var AppConfig */
21- private $ appConfig ;
2220 /** @var IAppConfig */
2321 private $ appConfig ;
2422
Original file line number Diff line number Diff line change 1313use OCP \App \IAppManager ;
1414use OCP \AppFramework \Http \ContentSecurityPolicy ;
1515use OCP \AppFramework \Http \EmptyContentSecurityPolicy ;
16+ use OCP \AppFramework \Services \IAppConfig ;
1617use OCP \EventDispatcher \IEventDispatcher ;
1718use OCP \GlobalScale \IConfig as GlobalScaleConfig ;
1819use OCP \IConfig ;
@@ -54,6 +55,7 @@ public function setUp(): void {
5455 $ this ->config = $ this ->getMockBuilder (AppConfig::class)
5556 ->setConstructorArgs ([
5657 $ this ->createMock (IConfig::class),
58+ $ this ->createMock (IAppConfig::class),
5759 $ this ->appManager ,
5860 $ this ->gsConfig ,
5961 ])
You can’t perform that action at this time.
0 commit comments