diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-06-22 16:49:04 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-06-22 16:49:04 +0200 |
commit | 45f9083a58b19641662a35e98f78e3b047fc9b42 (patch) | |
tree | 4317ab7bd3bbc76059d98db17a4cef9f95ba2e63 /tests/lib/connector | |
parent | a88b370dc84c4dfdcab7a128900829fbe8204ca7 (diff) | |
download | nextcloud-server-45f9083a58b19641662a35e98f78e3b047fc9b42.tar.gz nextcloud-server-45f9083a58b19641662a35e98f78e3b047fc9b42.zip |
Make an assertion in risky test testGetNodeForPathRoot
Diffstat (limited to 'tests/lib/connector')
-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)); } } |