summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-06-23 09:11:36 +0200
committerLukas Reschke <lukas@owncloud.com>2015-06-23 09:11:36 +0200
commit2654696086988c11c57cc9d72579ce3912aa08c6 (patch)
treea0ab148c71f3c2a0c826a65fa99bb96b0cbd395b
parenta059b090c30f07e248ff6e29c09fc19a2fcd2a34 (diff)
parent45f9083a58b19641662a35e98f78e3b047fc9b42 (diff)
downloadnextcloud-server-2654696086988c11c57cc9d72579ce3912aa08c6.tar.gz
nextcloud-server-2654696086988c11c57cc9d72579ce3912aa08c6.zip
Merge pull request #17081 from owncloud/issue-17079-risky-test-sabre-objecttree
Make an assertion in risky test testGetNodeForPathRoot
-rw-r--r--tests/lib/connector/sabre/objecttree.php3
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));
}
}