diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-11-28 14:25:50 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-11-28 14:25:50 +0100 |
commit | 2d34274c8a3b2f85f2c6e1b18c8a06fbbacf932c (patch) | |
tree | dd4e895385dfe8d08548cff8dc31cf4d844d4d4a | |
parent | 260f0fab4d76b75c707962337c6501af1d7d5f7d (diff) | |
download | nextcloud-server-2d34274c8a3b2f85f2c6e1b18c8a06fbbacf932c.tar.gz nextcloud-server-2d34274c8a3b2f85f2c6e1b18c8a06fbbacf932c.zip |
adjust unit test
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
-rw-r--r-- | apps/workflowengine/tests/ManagerTest.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/workflowengine/tests/ManagerTest.php b/apps/workflowengine/tests/ManagerTest.php index 0f142e642ed..82f1653ef25 100644 --- a/apps/workflowengine/tests/ManagerTest.php +++ b/apps/workflowengine/tests/ManagerTest.php @@ -33,6 +33,7 @@ use OCP\ILogger; use OCP\IServerContainer; use OCP\IURLGenerator; use OCP\IUserSession; +use OCP\SystemTag\ISystemTagManager; use OCP\WorkflowEngine\ICheck; use OCP\WorkflowEngine\IEntity; use OCP\WorkflowEngine\IManager; @@ -283,7 +284,10 @@ class ManagerTest extends TestCase { $this->l, $this->createMock(IURLGenerator::class), $this->createMock(IRootFolder::class), - $this->createMock(ILogger::class) + $this->createMock(ILogger::class), + $this->createMock(\OCP\Share\IManager::class), + $this->createMock(IUserSession::class), + $this->createMock(ISystemTagManager::class) ]) ->setMethodsExcept(['getEvents']) ->getMock(); |