diff options
author | provokateurin <kate@provokateurin.de> | 2024-09-26 09:22:26 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-09-26 09:22:26 +0200 |
commit | b9115da4f27ff2cc013da4ec88754c1175dd5216 (patch) | |
tree | cffbf11e3742d744f46ef95577d0b05c208e19eb /apps/files/tests/Controller | |
parent | 9a220989dd1cd3a5792b8fc385ee1d7b1bcc7fb8 (diff) | |
download | nextcloud-server-refactor/apps/php55-features.tar.gz nextcloud-server-refactor/apps/php55-features.zip |
refactor(apps): Use PHP 5.5 featuresrefactor/apps/php55-features
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/files/tests/Controller')
-rw-r--r-- | apps/files/tests/Controller/ViewControllerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/tests/Controller/ViewControllerTest.php b/apps/files/tests/Controller/ViewControllerTest.php index a6eba1f9eaf..d9d5910f4c4 100644 --- a/apps/files/tests/Controller/ViewControllerTest.php +++ b/apps/files/tests/Controller/ViewControllerTest.php @@ -58,7 +58,7 @@ class ViewControllerTest extends TestCase { $this->config = $this->getMockBuilder(IConfig::class)->getMock(); $this->eventDispatcher = $this->createMock(IEventDispatcher::class); $this->userSession = $this->getMockBuilder(IUserSession::class)->getMock(); - $this->appManager = $this->getMockBuilder('\OCP\App\IAppManager')->getMock(); + $this->appManager = $this->getMockBuilder(\OCP\App\IAppManager::class)->getMock(); $this->user = $this->getMockBuilder(IUser::class)->getMock(); $this->user->expects($this->any()) ->method('getUID') @@ -66,7 +66,7 @@ class ViewControllerTest extends TestCase { $this->userSession->expects($this->any()) ->method('getUser') ->willReturn($this->user); - $this->rootFolder = $this->getMockBuilder('\OCP\Files\IRootFolder')->getMock(); + $this->rootFolder = $this->getMockBuilder(\OCP\Files\IRootFolder::class)->getMock(); $this->initialState = $this->createMock(IInitialState::class); $this->templateManager = $this->createMock(ITemplateManager::class); $this->userConfig = $this->createMock(UserConfig::class); |