summaryrefslogtreecommitdiffstats
path: root/tests/Unit/Db/ItemMapperAfterTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Unit/Db/ItemMapperAfterTest.php')
-rw-r--r--tests/Unit/Db/ItemMapperAfterTest.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Unit/Db/ItemMapperAfterTest.php b/tests/Unit/Db/ItemMapperAfterTest.php
index eccebbcf5..6e33465ba 100644
--- a/tests/Unit/Db/ItemMapperAfterTest.php
+++ b/tests/Unit/Db/ItemMapperAfterTest.php
@@ -28,6 +28,8 @@ class ItemMapperAfterTest extends MapperTestUtility
/** @var ItemMapperV2 */
private $class;
+ /** @var IUserManager */
+ private $userManager;
/**
* @covers \OCA\News\Db\ItemMapperV2::__construct
@@ -37,6 +39,8 @@ class ItemMapperAfterTest extends MapperTestUtility
parent::setUp();
$time = $this->getMockBuilder(Time::class)
->getMock();
+ $this->userManager = $this->getMockBuilder(IUserManager::class)
+ ->getMock();
$this->class = new ItemMapperV2($this->db, $time);
}