add missing dep

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2019-08-27 17:47:44 +02:00
parent 26b19b73a4
commit fe2a78609a
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 6 additions and 1 deletions

View File

@ -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();
}