summaryrefslogtreecommitdiffstats
path: root/tests/lib/Calendar/ManagerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Calendar/ManagerTest.php')
-rw-r--r--tests/lib/Calendar/ManagerTest.php14
1 files changed, 13 insertions, 1 deletions
diff --git a/tests/lib/Calendar/ManagerTest.php b/tests/lib/Calendar/ManagerTest.php
index 70f7dbe2437..a4d9d45fdb2 100644
--- a/tests/lib/Calendar/ManagerTest.php
+++ b/tests/lib/Calendar/ManagerTest.php
@@ -27,6 +27,8 @@ use OC\AppFramework\Bootstrap\Coordinator;
use OC\Calendar\Manager;
use OCP\Calendar\ICalendar;
use PHPUnit\Framework\MockObject\MockObject;
+use Psr\Container\ContainerInterface;
+use Psr\Log\LoggerInterface;
use Test\TestCase;
class ManagerTest extends TestCase {
@@ -34,6 +36,12 @@ class ManagerTest extends TestCase {
/** @var Coordinator|MockObject */
private $coordinator;
+ /** @var MockObject|ContainerInterface */
+ private $container;
+
+ /** @var MockObject|LoggerInterface */
+ private $logger;
+
/** @var Manager */
private $manager;
@@ -41,9 +49,13 @@ class ManagerTest extends TestCase {
parent::setUp();
$this->coordinator = $this->createMock(Coordinator::class);
+ $this->container = $this->createMock(ContainerInterface::class);
+ $this->logger = $this->createMock(LoggerInterface::class);
$this->manager = new Manager(
- $this->coordinator
+ $this->coordinator,
+ $this->container,
+ $this->logger
);
}