summaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/Stream
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-11-20 14:22:00 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-12-03 08:03:57 +0100
commitcc80339b39d998c615a5648d2c86b1e431a8b023 (patch)
tree3fed2c67f37db1e9746bc79013f17a2463896d73 /tests/lib/Files/Stream
parente5c95eed69a1d5e96b69147e4e7f6e40d21c8f9b (diff)
downloadnextcloud-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/Stream')
-rw-r--r--tests/lib/Files/Stream/EncryptionTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/Files/Stream/EncryptionTest.php b/tests/lib/Files/Stream/EncryptionTest.php
index 3ded6ef91d6..fd5e8c6ca9d 100644
--- a/tests/lib/Files/Stream/EncryptionTest.php
+++ b/tests/lib/Files/Stream/EncryptionTest.php
@@ -5,6 +5,7 @@ namespace Test\Files\Stream;
use OC\Files\Cache\CacheEntry;
use OC\Files\View;
use OC\Memcache\ArrayCache;
+use OCP\EventDispatcher\IEventDispatcher;
use OCP\Files\Cache\ICache;
use OCP\IConfig;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
@@ -48,7 +49,7 @@ class EncryptionTest extends \Test\TestCase {
$file->expects($this->any())->method('getAccessList')->willReturn([]);
$util = $this->getMockBuilder('\OC\Encryption\Util')
->setMethods(['getUidAndFilename'])
- ->setConstructorArgs([new View(), new \OC\User\Manager($config, $this->createMock(EventDispatcherInterface::class)), $groupManager, $config, $arrayCache])
+ ->setConstructorArgs([new View(), new \OC\User\Manager($config, $this->createMock(EventDispatcherInterface::class), $this->createMock(IEventDispatcher::class)), $groupManager, $config, $arrayCache])
->getMock();
$util->expects($this->any())
->method('getUidAndFilename')