diff options
Diffstat (limited to 'tests/lib/TemplateLayoutTest.php')
-rw-r--r-- | tests/lib/TemplateLayoutTest.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/TemplateLayoutTest.php b/tests/lib/TemplateLayoutTest.php index c1cafcd6b93..ce5d2f6dd0b 100644 --- a/tests/lib/TemplateLayoutTest.php +++ b/tests/lib/TemplateLayoutTest.php @@ -13,6 +13,7 @@ use OC\InitialStateService; use OC\TemplateLayout; use OCP\App\IAppManager; use OCP\AppFramework\Http\TemplateResponse; +use OCP\IAppConfig; use OCP\IConfig; use OCP\INavigationManager; use OCP\ServerVersion; @@ -21,6 +22,7 @@ use PHPUnit\Framework\MockObject\MockObject; class TemplateLayoutTest extends \Test\TestCase { private IConfig&MockObject $config; + private IAppConfig&MockObject $appConfig; private IAppManager&MockObject $appManager; private InitialStateService&MockObject $initialState; private INavigationManager&MockObject $navigationManager; @@ -33,6 +35,7 @@ class TemplateLayoutTest extends \Test\TestCase { parent::setUp(); $this->config = $this->createMock(IConfig::class); + $this->appConfig = $this->createMock(IAppConfig::class); $this->appManager = $this->createMock(IAppManager::class); $this->initialState = $this->createMock(InitialStateService::class); $this->navigationManager = $this->createMock(INavigationManager::class); @@ -68,6 +71,7 @@ class TemplateLayoutTest extends \Test\TestCase { ->onlyMethods(['getAppNamefromPath']) ->setConstructorArgs([ $this->config, + $this->appConfig, $this->appManager, $this->initialState, $this->navigationManager, |