diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-06-06 15:48:02 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-06-06 15:48:02 +0200 |
commit | 909913d581ea71d229e894f14f00458d96f1a309 (patch) | |
tree | 36b82bd7df908d30e3ae294d3fce11483116d27b /apps/files_encryption | |
parent | e98627d6ab99e58db3c3ecaba1e74746545e31fb (diff) | |
download | nextcloud-server-909913d581ea71d229e894f14f00458d96f1a309.tar.gz nextcloud-server-909913d581ea71d229e894f14f00458d96f1a309.zip |
fix failing unit test
Diffstat (limited to 'apps/files_encryption')
-rwxr-xr-x | apps/files_encryption/tests/webdav.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/files_encryption/tests/webdav.php b/apps/files_encryption/tests/webdav.php index bccab5befe4..7f728970675 100755 --- a/apps/files_encryption/tests/webdav.php +++ b/apps/files_encryption/tests/webdav.php @@ -230,13 +230,10 @@ class Test_Encryption_Webdav extends \PHPUnit_Framework_TestCase { $requestBackend = new OC_Connector_Sabre_Request(); // Create ownCloud Dir - $root = '/' . $this->userId . '/files'; - $view = new \OC\Files\View($root); - $publicDir = new OC_Connector_Sabre_Directory($view); - $objectTree = new \OC\Connector\Sabre\ObjectTree($publicDir); + $publicDir = new OC_Connector_Sabre_Directory(''); // Fire up server - $server = new Sabre_DAV_Server($objectTree); + $server = new Sabre_DAV_Server($publicDir); $server->httpRequest = $requestBackend; $server->setBaseUri('/remote.php/webdav/'); |