diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-11-20 14:22:00 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-12-03 08:03:57 +0100 |
commit | cc80339b39d998c615a5648d2c86b1e431a8b023 (patch) | |
tree | 3fed2c67f37db1e9746bc79013f17a2463896d73 /tests/lib/Files/Config/UserMountCacheTest.php | |
parent | e5c95eed69a1d5e96b69147e4e7f6e40d21c8f9b (diff) | |
download | nextcloud-server-cc80339b39d998c615a5648d2c86b1e431a8b023.tar.gz nextcloud-server-cc80339b39d998c615a5648d2c86b1e431a8b023.zip |
Add typed create user events
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/lib/Files/Config/UserMountCacheTest.php')
-rw-r--r-- | tests/lib/Files/Config/UserMountCacheTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/Files/Config/UserMountCacheTest.php b/tests/lib/Files/Config/UserMountCacheTest.php index d63693a655b..2f61f634ffb 100644 --- a/tests/lib/Files/Config/UserMountCacheTest.php +++ b/tests/lib/Files/Config/UserMountCacheTest.php @@ -13,6 +13,7 @@ use OC\Files\Mount\MountPoint; use OC\Files\Storage\Storage; use OC\Log; use OC\User\Manager; +use OCP\EventDispatcher\IEventDispatcher; use OCP\Files\Config\ICachedMountInfo; use OCP\IConfig; use OCP\IDBConnection; @@ -45,7 +46,7 @@ class UserMountCacheTest extends TestCase { protected function setUp(): void { $this->fileIds = []; $this->connection = \OC::$server->getDatabaseConnection(); - $this->userManager = new Manager($this->createMock(IConfig::class), $this->createMock(EventDispatcherInterface::class)); + $this->userManager = new Manager($this->createMock(IConfig::class), $this->createMock(EventDispatcherInterface::class), $this->createMock(IEventDispatcher::class)); $userBackend = new Dummy(); $userBackend->createUser('u1', ''); $userBackend->createUser('u2', ''); |