From ad12a740cb619d701de332eedda91dcbb1f53047 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 25 Jul 2023 21:45:07 +0200 Subject: fix!: Remove symfony EventDispatcherInterface from User Signed-off-by: Joas Schilling --- tests/lib/Files/Storage/Wrapper/EncryptionTest.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/lib/Files/Storage/Wrapper/EncryptionTest.php') diff --git a/tests/lib/Files/Storage/Wrapper/EncryptionTest.php b/tests/lib/Files/Storage/Wrapper/EncryptionTest.php index ae776e40666..11be0c60fbd 100644 --- a/tests/lib/Files/Storage/Wrapper/EncryptionTest.php +++ b/tests/lib/Files/Storage/Wrapper/EncryptionTest.php @@ -20,7 +20,6 @@ use OCP\Files\Mount\IMountPoint; use OCP\ICacheFactory; use OCP\IConfig; use Psr\Log\LoggerInterface; -use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Test\Files\Storage\Storage; class EncryptionTest extends Storage { @@ -133,7 +132,6 @@ class EncryptionTest extends Storage { ->setMethods(['getUidAndFilename', 'isFile', 'isExcluded']) ->setConstructorArgs([new View(), new Manager( $this->config, - $this->createMock(EventDispatcherInterface::class), $this->createMock(ICacheFactory::class), $this->createMock(IEventDispatcher::class) ), $this->groupManager, $this->config, $this->arrayCache]) @@ -574,7 +572,6 @@ class EncryptionTest extends Storage { new View(), new Manager( $this->config, - $this->createMock(EventDispatcherInterface::class), $this->createMock(ICacheFactory::class), $this->createMock(IEventDispatcher::class) ), @@ -657,7 +654,6 @@ class EncryptionTest extends Storage { $util = $this->getMockBuilder('\OC\Encryption\Util') ->setConstructorArgs([new View(), new Manager( $this->config, - $this->createMock(EventDispatcherInterface::class), $this->createMock(ICacheFactory::class), $this->createMock(IEventDispatcher::class) ), $this->groupManager, $this->config, $this->arrayCache]) -- cgit v1.2.3