From 6d54dc3218e8c13209bfe5e8b557ed23d0c701e5 Mon Sep 17 00:00:00 2001 From: Antoon Prins Date: Wed, 19 Feb 2025 15:57:19 +0100 Subject: [PATCH] Fix test Signed-off-by: Antoon Prins --- tests/lib/Share20/ManagerTest.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/lib/Share20/ManagerTest.php b/tests/lib/Share20/ManagerTest.php index 0c62272824f7d..b94c0e41a9dc7 100644 --- a/tests/lib/Share20/ManagerTest.php +++ b/tests/lib/Share20/ManagerTest.php @@ -72,8 +72,6 @@ class ManagerTest extends \Test\TestCase { protected $logger; /** @var IConfig|MockObject */ protected $config; - /** @var IAppConfig|MockObject */ - protected $appConfig; /** @var ISecureRandom|MockObject */ protected $secureRandom; /** @var IHasher|MockObject */ @@ -117,7 +115,6 @@ class ManagerTest extends \Test\TestCase { protected function setUp(): void { $this->logger = $this->createMock(LoggerInterface::class); $this->config = $this->createMock(IConfig::class); - $this->appConfig = $this->createMock(IAppConfig::class); $this->secureRandom = $this->createMock(ISecureRandom::class); $this->hasher = $this->createMock(IHasher::class); $this->mountManager = $this->createMock(IMountManager::class); @@ -163,7 +160,6 @@ private function createManager(IProviderFactory $factory): Manager { return new Manager( $this->logger, $this->config, - $this->appConfig, $this->secureRandom, $this->hasher, $this->mountManager, @@ -192,7 +188,6 @@ private function createManagerMock() { ->setConstructorArgs([ $this->logger, $this->config, - $this->appConfig, $this->secureRandom, $this->hasher, $this->mountManager,