adjust unit test

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
pull/18134/head
Arthur Schiwon 6 years ago
parent 260f0fab4d
commit 2d34274c8a
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
  1. 6
      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();

Loading…
Cancel
Save