Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-03-21 17:00:13 +0300
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-03-24 18:21:27 +0300
commit3546cfba1cc8f103554d1c91a7f81050ff5f0c2a (patch)
tree4dde56dff89ee5dc53b71b3aeba9139bba499307 /tests/lib/Repair
parent25e7374e805307c100f169db7841a0e43dc43013 (diff)
Fix more ILogger related problems from tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests/lib/Repair')
-rw-r--r--tests/lib/Repair/RepairCollationTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/Repair/RepairCollationTest.php b/tests/lib/Repair/RepairCollationTest.php
index 35679eb8630..27d146fab43 100644
--- a/tests/lib/Repair/RepairCollationTest.php
+++ b/tests/lib/Repair/RepairCollationTest.php
@@ -11,8 +11,8 @@ namespace Test\Repair;
use Doctrine\DBAL\Platforms\MySqlPlatform;
use OC\Repair\Collation;
use OCP\IDBConnection;
-use OCP\ILogger;
use OCP\Migration\IOutput;
+use Psr\Log\LoggerInterface;
use Test\TestCase;
class TestCollationRepair extends Collation {
@@ -54,14 +54,14 @@ class RepairCollationTest extends TestCase {
*/
private $config;
- /** @var ILogger */
+ /** @var LoggerInterface */
private $logger;
protected function setUp(): void {
parent::setUp();
$this->connection = \OC::$server->get(IDBConnection::class);
- $this->logger = $this->createMock(ILogger::class);
+ $this->logger = $this->createMock(LoggerInterface::class);
$this->config = \OC::$server->getConfig();
if (!$this->connection->getDatabasePlatform() instanceof MySqlPlatform) {
$this->markTestSkipped("Test only relevant on MySql");