summaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/Mount
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-03-21 11:17:14 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-03-24 16:21:26 +0100
commit61f7f13bd81948f6179bb8f70b6711c002ddd70e (patch)
treef1238dd97d93203637bb203d4cf649b65c8fbc4a /tests/lib/Files/Mount
parente8c1f75064ae008e50daa087924de5d29368747e (diff)
downloadnextcloud-server-61f7f13bd81948f6179bb8f70b6711c002ddd70e.tar.gz
nextcloud-server-61f7f13bd81948f6179bb8f70b6711c002ddd70e.zip
Migrate from ILogger to LoggerInterface where needed in the tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests/lib/Files/Mount')
-rw-r--r--tests/lib/Files/Mount/ObjectStorePreviewCacheMountProviderTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/Files/Mount/ObjectStorePreviewCacheMountProviderTest.php b/tests/lib/Files/Mount/ObjectStorePreviewCacheMountProviderTest.php
index 400808d7cd5..ef2ede729ce 100644
--- a/tests/lib/Files/Mount/ObjectStorePreviewCacheMountProviderTest.php
+++ b/tests/lib/Files/Mount/ObjectStorePreviewCacheMountProviderTest.php
@@ -30,8 +30,8 @@ use OC\Files\ObjectStore\S3;
use OC\Files\Storage\StorageFactory;
use OCP\Files\Storage\IStorageFactory;
use OCP\IConfig;
-use OCP\ILogger;
use PHPUnit\Framework\MockObject\MockObject;
+use Psr\Log\LoggerInterface;
/**
* @group DB
@@ -43,7 +43,7 @@ class ObjectStorePreviewCacheMountProviderTest extends \Test\TestCase {
/** @var ObjectStorePreviewCacheMountProvider */
protected $provider;
- /** @var ILogger|MockObject */
+ /** @var LoggerInterface|MockObject */
protected $logger;
/** @var IConfig|MockObject */
protected $config;
@@ -54,7 +54,7 @@ class ObjectStorePreviewCacheMountProviderTest extends \Test\TestCase {
protected function setUp(): void {
parent::setUp();
- $this->logger = $this->createMock(ILogger::class);
+ $this->logger = $this->createMock(LoggerInterface::class);
$this->config = $this->createMock(IConfig::class);
$this->loader = $this->createMock(StorageFactory::class);