Merge pull request #17081 from owncloud/issue-17079-risky-test-sabre-objecttree

Make an assertion in risky test testGetNodeForPathRoot
This commit is contained in:
Lukas Reschke 2015-06-23 09:11:36 +02:00
commit 2654696086
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));
}
}