diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-03-21 12:41:58 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-03-24 16:21:27 +0100 |
commit | 25e7374e805307c100f169db7841a0e43dc43013 (patch) | |
tree | e567b95db8ee962392a79bd75b5f79d69366e739 /apps/files_sharing | |
parent | 1809386862ee2c16f9abc1cf2d6972d317c94cbd (diff) | |
download | nextcloud-server-25e7374e805307c100f169db7841a0e43dc43013.tar.gz nextcloud-server-25e7374e805307c100f169db7841a0e43dc43013.zip |
Fix ILogger instances in application tests for core parameters
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/tests/CapabilitiesTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/CapabilitiesTest.php b/apps/files_sharing/tests/CapabilitiesTest.php index 01ef13a3e6c..093a04052b1 100644 --- a/apps/files_sharing/tests/CapabilitiesTest.php +++ b/apps/files_sharing/tests/CapabilitiesTest.php @@ -37,7 +37,6 @@ use OCP\Files\Mount\IMountManager; use OCP\IConfig; use OCP\IGroupManager; use OCP\IL10N; -use OCP\ILogger; use OCP\IURLGenerator; use OCP\IUserManager; use OCP\IUserSession; @@ -46,6 +45,7 @@ use OCP\Mail\IMailer; use OCP\Security\IHasher; use OCP\Security\ISecureRandom; use OCP\Share\IProviderFactory; +use Psr\Log\LoggerInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface; /** @@ -79,7 +79,7 @@ class CapabilitiesTest extends \Test\TestCase { $config = $this->getMockBuilder(IConfig::class)->disableOriginalConstructor()->getMock(); $config->method('getAppValue')->willReturnMap($map); $shareManager = new Manager( - $this->createMock(ILogger::class), + $this->createMock(LoggerInterface::class), $config, $this->createMock(ISecureRandom::class), $this->createMock(IHasher::class), |