diff options
author | Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | 2023-07-20 08:42:15 +0200 |
---|---|---|
committer | Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | 2023-08-01 09:44:57 +0200 |
commit | 9b03dc52a40c36b24673d221c7839302f4a2b382 (patch) | |
tree | abb25232209c8fa78cb3619839176346bdd95e59 /apps/files_external/tests/Controller | |
parent | 2ea7719bfa4280220c7dfc9fbfec97b61ba33112 (diff) | |
download | nextcloud-server-9b03dc52a40c36b24673d221c7839302f4a2b382.tar.gz nextcloud-server-9b03dc52a40c36b24673d221c7839302f4a2b382.zip |
Migrate files external to PSR LoggerInterface
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Diffstat (limited to 'apps/files_external/tests/Controller')
-rw-r--r-- | apps/files_external/tests/Controller/GlobalStoragesControllerTest.php | 5 | ||||
-rw-r--r-- | apps/files_external/tests/Controller/UserStoragesControllerTest.php | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/apps/files_external/tests/Controller/GlobalStoragesControllerTest.php b/apps/files_external/tests/Controller/GlobalStoragesControllerTest.php index 5536ae80006..5ce9db68e40 100644 --- a/apps/files_external/tests/Controller/GlobalStoragesControllerTest.php +++ b/apps/files_external/tests/Controller/GlobalStoragesControllerTest.php @@ -32,9 +32,10 @@ use OCP\EventDispatcher\IEventDispatcher; use OCP\IConfig; use OCP\IGroupManager; use OCP\IL10N; -use OCP\ILogger; use OCP\IRequest; use OCP\IUserSession; +use Psr\Log\LoggerInterface; +use Symfony\Component\EventDispatcher\EventDispatcherInterface; class GlobalStoragesControllerTest extends StoragesControllerTest { protected function setUp(): void { @@ -65,7 +66,7 @@ class GlobalStoragesControllerTest extends StoragesControllerTest { $this->createMock(IRequest::class), $this->createMock(IL10N::class), $this->service, - $this->createMock(ILogger::class), + $this->createMock(LoggerInterface::class), $session, $this->createMock(IGroupManager::class), $config diff --git a/apps/files_external/tests/Controller/UserStoragesControllerTest.php b/apps/files_external/tests/Controller/UserStoragesControllerTest.php index 13efbf278b6..deb0f6e37bf 100644 --- a/apps/files_external/tests/Controller/UserStoragesControllerTest.php +++ b/apps/files_external/tests/Controller/UserStoragesControllerTest.php @@ -35,9 +35,10 @@ use OCP\EventDispatcher\IEventDispatcher; use OCP\IConfig; use OCP\IGroupManager; use OCP\IL10N; -use OCP\ILogger; use OCP\IRequest; use OCP\IUserSession; +use Psr\Log\LoggerInterface; +use Symfony\Component\EventDispatcher\EventDispatcherInterface; class UserStoragesControllerTest extends StoragesControllerTest { @@ -73,7 +74,7 @@ class UserStoragesControllerTest extends StoragesControllerTest { $this->createMock(IRequest::class), $this->createMock(IL10N::class), $this->service, - $this->createMock(ILogger::class), + $this->createMock(LoggerInterface::class), $session, $this->createMock(IGroupManager::class), $config |