summaryrefslogtreecommitdiffstats
path: root/tests/Unit/Db/ItemMapperAfterTest.php
diff options
context:
space:
mode:
authorMarco Nassabain <marco.nassabain@hotmail.com>2021-03-18 22:34:14 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-04-08 22:31:21 +0200
commitaf84bbf204cc6594d7fddfed387139f869a5c061 (patch)
treeeb83b8d133f823385c9e21955678033336bf8903 /tests/Unit/Db/ItemMapperAfterTest.php
parent7306370ececd6ada186061af7deb9437d6182be6 (diff)
✅ Item: update tests - include sharer display name
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
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);
}