aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-03-24 20:31:00 +0100
committerVincent Petry <vincent@nextcloud.com>2022-03-24 20:31:00 +0100
commitd92c7bddce94894e077a233a0bfb07f6439418af (patch)
treeee58ade44fa1e47b07dbdd97175d3511d93e6a50
parent1bc86a95c473052886baf50b85eb29aaf0b82597 (diff)
downloadnextcloud-server-d92c7bddce94894e077a233a0bfb07f6439418af.tar.gz
nextcloud-server-d92c7bddce94894e077a233a0bfb07f6439418af.zip
Add missing event dispatcher in test constructor
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
-rw-r--r--apps/files_external/tests/Service/GlobalStoragesServiceTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/tests/Service/GlobalStoragesServiceTest.php b/apps/files_external/tests/Service/GlobalStoragesServiceTest.php
index b23c4b8f2bf..7d77ea971f3 100644
--- a/apps/files_external/tests/Service/GlobalStoragesServiceTest.php
+++ b/apps/files_external/tests/Service/GlobalStoragesServiceTest.php
@@ -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 {