From a5b8473aa548ac85a01b82aafb05195498d3c566 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Fri, 22 Nov 2019 10:20:07 +0100 Subject: Fix fileplugintest Signed-off-by: Roeland Jago Douma --- apps/dav/tests/unit/Connector/Sabre/FilesPluginTest.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps') diff --git a/apps/dav/tests/unit/Connector/Sabre/FilesPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/FilesPluginTest.php index 7322b71a7ec..564059cd1dc 100644 --- a/apps/dav/tests/unit/Connector/Sabre/FilesPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/FilesPluginTest.php @@ -45,6 +45,7 @@ use Sabre\DAV\Server; use Sabre\DAV\Tree; use Sabre\HTTP\RequestInterface; use Sabre\HTTP\ResponseInterface; +use Sabre\Xml\Service; use Test\TestCase; /** @@ -126,6 +127,7 @@ class FilesPluginTest extends TestCase { ->disableOriginalConstructor() ->getMock(); $this->server->httpResponse = $response; + $this->server->xml = new Service(); $this->plugin->initialize($this->server); } -- cgit v1.2.3