diff options
-rw-r--r-- | tests/lib/connector/sabre/objecttree.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/connector/sabre/objecttree.php b/tests/lib/connector/sabre/objecttree.php index 00aab94e012..1eaddf53a11 100644 --- a/tests/lib/connector/sabre/objecttree.php +++ b/tests/lib/connector/sabre/objecttree.php @@ -264,6 +264,7 @@ class ObjectTree extends \Test\TestCase { $tree->getNodeForPath($path); } + public function testGetNodeForPathRoot() { $path = '/'; @@ -285,6 +286,6 @@ class ObjectTree extends \Test\TestCase { $tree = new \OC\Connector\Sabre\ObjectTree(); $tree->init($rootNode, $view, $mountManager); - $tree->getNodeForPath($path); + $this->assertInstanceOf('\Sabre\DAV\INode', $tree->getNodeForPath($path)); } } |