File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616use OCP \IAppConfig ;
1717use OCP \IConfig ;
1818use OCP \INavigationManager ;
19+ use OCP \IRequest ;
1920use OCP \ServerVersion ;
2021use OCP \Template \ITemplateManager ;
2122use PHPUnit \Framework \MockObject \MockObject ;
@@ -28,6 +29,7 @@ class TemplateLayoutTest extends \Test\TestCase {
2829 private INavigationManager &MockObject $ navigationManager ;
2930 private ITemplateManager &MockObject $ templateManager ;
3031 private ServerVersion &MockObject $ serverVersion ;
32+ private IRequest &MockObject $ request ;
3133
3234 private TemplateLayout $ templateLayout ;
3335
@@ -41,6 +43,7 @@ protected function setUp(): void {
4143 $ this ->navigationManager = $ this ->createMock (INavigationManager::class);
4244 $ this ->templateManager = $ this ->createMock (ITemplateManager::class);
4345 $ this ->serverVersion = $ this ->createMock (ServerVersion::class);
46+ $ this ->request = $ this ->createMock (IRequest::class);
4447 }
4548
4649 #[\PHPUnit \Framework \Attributes \DataProvider('dataVersionHash ' )]
@@ -83,6 +86,7 @@ public function testVersionHash(
8386 $ this ->navigationManager ,
8487 $ this ->templateManager ,
8588 $ this ->serverVersion ,
89+ $ this ->request ,
8690 ])
8791 ->getMock ();
8892
You can’t perform that action at this time.
0 commit comments