diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-11-22 10:20:07 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-11-27 13:34:42 +0100 |
commit | a5b8473aa548ac85a01b82aafb05195498d3c566 (patch) | |
tree | c44ba668b3f0b8394bf5fb5b6f824bb3dfce6658 /apps/dav/tests | |
parent | bc16b0524382f4639dc9a1c542a661e4baf02880 (diff) | |
download | nextcloud-server-a5b8473aa548ac85a01b82aafb05195498d3c566.tar.gz nextcloud-server-a5b8473aa548ac85a01b82aafb05195498d3c566.zip |
Fix fileplugintest
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/dav/tests')
-rw-r--r-- | apps/dav/tests/unit/Connector/Sabre/FilesPluginTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |