summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/Connector
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-11-21 15:47:11 +0100
committerJulius Härtl <jus@bitgrid.net>2019-12-04 19:04:29 +0100
commit1593322397c02c84976657faac9d134d561565a0 (patch)
tree5c52cda412bfc34bf84f28b9361a9d51a347f15b /apps/dav/tests/unit/Connector
parent17eece7fc4470828c3b03d44e0614e70848260a4 (diff)
downloadnextcloud-server-1593322397c02c84976657faac9d134d561565a0.tar.gz
nextcloud-server-1593322397c02c84976657faac9d134d561565a0.zip
Load apps dav plugins on the old webdav route
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/dav/tests/unit/Connector')
-rw-r--r--apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php
index b7d88b2208e..b921e0fea5e 100644
--- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php
+++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php
@@ -67,7 +67,8 @@ abstract class RequestTestCase extends TestCase {
$this->getMockBuilder(IRequest::class)
->disableOriginalConstructor()
->getMock(),
- \OC::$server->getPreviewManager()
+ \OC::$server->getPreviewManager(),
+ \OC::$server->getEventDispatcher()
);
}