aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-12-16 13:38:38 +0100
committerGitHub <noreply@github.com>2019-12-16 13:38:38 +0100
commit8d7baaff7494194f2a8e0fe8d9baf981d15d5a76 (patch)
tree9c163b7e5ee2a0fe2d68483f56afb06b7878217b /apps/dav/tests/unit
parentfaf58e4cacf6475110e32c7e5c8f37971b641b1a (diff)
parent1593322397c02c84976657faac9d134d561565a0 (diff)
downloadnextcloud-server-8d7baaff7494194f2a8e0fe8d9baf981d15d5a76.tar.gz
nextcloud-server-8d7baaff7494194f2a8e0fe8d9baf981d15d5a76.zip
Merge pull request #18061 from nextcloud/bugfix/noid/dav-plugin-old
Load apps dav plugins on the old webdav route
Diffstat (limited to 'apps/dav/tests/unit')
-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 1eac5f4e3a8..5d56f9c667d 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()
);
}