]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add missing event dispatcher in test constructor
authorVincent Petry <vincent@nextcloud.com>
Thu, 24 Mar 2022 19:31:00 +0000 (20:31 +0100)
committerVincent Petry <vincent@nextcloud.com>
Thu, 24 Mar 2022 19:31:00 +0000 (20:31 +0100)
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
apps/files_external/tests/Service/GlobalStoragesServiceTest.php

index b23c4b8f2bf9ab47dc072ddd24a3b169e47830f5..7d77ea971f3e04394893fe0e8ca040f9fd87eeb4 100644 (file)
@@ -37,7 +37,7 @@ use OCA\Files_External\Service\GlobalStoragesService;
 class GlobalStoragesServiceTest extends StoragesServiceTest {
        protected function setUp(): void {
                parent::setUp();
-               $this->service = new GlobalStoragesService($this->backendService, $this->dbConfig, $this->mountCache);
+               $this->service = new GlobalStoragesService($this->backendService, $this->dbConfig, $this->mountCache, $this->eventDispatcher);
        }
 
        protected function tearDown(): void {