use ILogger for stable1.2

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2021-08-03 18:17:19 +02:00
parent b9ee020732
commit 7bdadc4b03
4 changed files with 9 additions and 425 deletions

View File

@@ -24,6 +24,7 @@
namespace OCA\Deck\Db;
use OCP\IGroupManager;
use OCP\ILogger;
use OCP\IUserManager;
use Test\AppFramework\Db\MapperTestUtility;
@@ -54,7 +55,8 @@ class AclMapperTest extends MapperTestUtility {
$this->aclMapper,
\OC::$server->query(StackMapper::class),
$this->userManager,
$this->groupManager
$this->groupManager,
$this->createMock(ILogger::class)
);
$this->boards = [

View File

@@ -25,8 +25,8 @@ namespace OCA\Deck\Db;
use OCP\IDBConnection;
use OCP\IGroupManager;
use OCP\ILogger;
use OCP\IUserManager;
use Psr\Log\LoggerInterface;
use Test\AppFramework\Db\MapperTestUtility;
/**
@@ -63,7 +63,7 @@ class BoardMapperTest extends MapperTestUtility {
\OC::$server->query(StackMapper::class),
$this->userManager,
$this->groupManager,
$this->createMock(LoggerInterface::class)
$this->createMock(ILogger::class)
);
$this->aclMapper = \OC::$server->query(AclMapper::class);
$this->labelMapper = \OC::$server->query(LabelMapper::class);