aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/tests
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2023-08-15 16:51:35 +0200
committerRobin Appelman <robin@icewind.nl>2023-08-18 11:14:52 +0200
commit36f9ebb6776bf41f75599d7ff48826b204e29f6e (patch)
tree1811ab276ee1c4dbae1839640017335ceffea399 /apps/files_trashbin/tests
parent9ea03a9534c1d8c40c500d6d484c001ae66c5f9a (diff)
downloadnextcloud-server-36f9ebb6776bf41f75599d7ff48826b204e29f6e.tar.gz
nextcloud-server-36f9ebb6776bf41f75599d7ff48826b204e29f6e.zip
only gather dependencies for trashbin wrapper once
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_trashbin/tests')
-rw-r--r--apps/files_trashbin/tests/StorageTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_trashbin/tests/StorageTest.php b/apps/files_trashbin/tests/StorageTest.php
index b4b995c3ae5..1b9c23f778d 100644
--- a/apps/files_trashbin/tests/StorageTest.php
+++ b/apps/files_trashbin/tests/StorageTest.php
@@ -51,6 +51,7 @@ use OCP\ILogger;
use OCP\IUserManager;
use OCP\Lock\ILockingProvider;
use OCP\Share\IShare;
+use Psr\Log\LoggerInterface;
use Test\Traits\MountProviderTrait;
class TemporaryNoCross extends Temporary {
@@ -606,7 +607,7 @@ class StorageTest extends \Test\TestCase {
->disableOriginalConstructor()->getMock();
$userManager->expects($this->any())
->method('userExists')->willReturn($userExists);
- $logger = $this->getMockBuilder(ILogger::class)->getMock();
+ $logger = $this->getMockBuilder(LoggerInterface::class)->getMock();
$eventDispatcher = $this->createMock(IEventDispatcher::class);
$rootFolder = $this->createMock(IRootFolder::class);
$userFolder = $this->createMock(Folder::class);