diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-08-27 17:47:44 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-09-09 22:56:02 +0200 |
commit | fe2a78609ab2b69e5540657ffea50d3c1f859001 (patch) | |
tree | 781b5cef62d7084766e3a9c12d4d98f8e1cb1749 /apps/workflowengine | |
parent | 26b19b73a46f714031237aa838c0011541f2a8c9 (diff) | |
download | nextcloud-server-fe2a78609ab2b69e5540657ffea50d3c1f859001.tar.gz nextcloud-server-fe2a78609ab2b69e5540657ffea50d3c1f859001.zip |
add missing dep
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/workflowengine')
-rw-r--r-- | apps/workflowengine/tests/ManagerTest.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/workflowengine/tests/ManagerTest.php b/apps/workflowengine/tests/ManagerTest.php index b25adb96f15..a497cd85a8c 100644 --- a/apps/workflowengine/tests/ManagerTest.php +++ b/apps/workflowengine/tests/ManagerTest.php @@ -29,6 +29,7 @@ use OCP\IDBConnection; use OCP\IL10N; use OCP\ILogger; use OCP\IServerContainer; +use OCP\IUserSession; use OCP\WorkflowEngine\ICheck; use OCP\WorkflowEngine\IEntity; use OCP\WorkflowEngine\IManager; @@ -55,6 +56,8 @@ class ManagerTest extends TestCase { protected $eventDispatcher; /** @var MockObject|IServerContainer */ protected $container; + /** @var MockObject|IUserSession */ + protected $session; protected function setUp() { parent::setUp(); @@ -70,13 +73,15 @@ class ManagerTest extends TestCase { $this->eventDispatcher = $this->createMock(EventDispatcherInterface::class); $this->logger = $this->createMock(ILogger::class); + $this->session = $this->createMock(IUserSession::class); $this->manager = new Manager( \OC::$server->getDatabaseConnection(), $this->container, $l, $this->eventDispatcher, - $this->logger + $this->logger, + $this->session ); $this->clearTables(); } |