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