diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-07-20 20:36:26 +0200 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2021-07-27 13:04:39 +0200 |
commit | dac676c14ef7a3bd866a674c2ced666435d977c6 (patch) | |
tree | ac22860171df795acc5a6234394ec154f2cef638 /apps/files_sharing/tests/External | |
parent | e67e90afce36edb18cebbc5f5799e427b891e114 (diff) | |
download | nextcloud-server-dac676c14ef7a3bd866a674c2ced666435d977c6.tar.gz nextcloud-server-dac676c14ef7a3bd866a674c2ced666435d977c6.zip |
Replace ILogger with LoggerInterface in remote share manager
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Co-authored-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/files_sharing/tests/External')
-rw-r--r-- | apps/files_sharing/tests/External/ManagerTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_sharing/tests/External/ManagerTest.php b/apps/files_sharing/tests/External/ManagerTest.php index 86b05f6d2ad..f0e6a0e843b 100644 --- a/apps/files_sharing/tests/External/ManagerTest.php +++ b/apps/files_sharing/tests/External/ManagerTest.php @@ -44,9 +44,9 @@ use OCP\Http\Client\IResponse; use OCP\IGroup; use OCP\IGroupManager; use OCP\IURLGenerator; -use OCP\ILogger; use OCP\IUserManager; use OCP\Share\IShare; +use Psr\Log\LoggerInterface; use Test\Traits\UserTrait; /** @@ -114,8 +114,8 @@ class ManagerTest extends TestCase { ->method('search') ->willReturn([]); - $logger = $this->createMock(ILogger::class); - $logger->expects($this->never())->method('logException'); + $logger = $this->createMock(LoggerInterface::class); + $logger->expects($this->never())->method('emergency'); $this->manager = $this->getMockBuilder(Manager::class) ->setConstructorArgs( |