Make an assertion in risky test testGetNodeForPathRoot

This commit is contained in:
Joas Schilling 2015-06-22 16:49:04 +02:00
parent a88b370dc8
commit 45f9083a58
1 changed files with 2 additions and 1 deletions

View File

@ -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));
}
}