Merge pull request #17081 from owncloud/issue-17079-risky-test-sabre-objecttree
Make an assertion in risky test testGetNodeForPathRoot
This commit is contained in:
commit
2654696086
|
@ -264,6 +264,7 @@ class ObjectTree extends \Test\TestCase {
|
||||||
|
|
||||||
$tree->getNodeForPath($path);
|
$tree->getNodeForPath($path);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testGetNodeForPathRoot() {
|
public function testGetNodeForPathRoot() {
|
||||||
$path = '/';
|
$path = '/';
|
||||||
|
|
||||||
|
@ -285,6 +286,6 @@ class ObjectTree extends \Test\TestCase {
|
||||||
$tree = new \OC\Connector\Sabre\ObjectTree();
|
$tree = new \OC\Connector\Sabre\ObjectTree();
|
||||||
$tree->init($rootNode, $view, $mountManager);
|
$tree->init($rootNode, $view, $mountManager);
|
||||||
|
|
||||||
$tree->getNodeForPath($path);
|
$this->assertInstanceOf('\Sabre\DAV\INode', $tree->getNodeForPath($path));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue