From 45f9083a58b19641662a35e98f78e3b047fc9b42 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 22 Jun 2015 16:49:04 +0200 Subject: Make an assertion in risky test testGetNodeForPathRoot --- tests/lib/connector/sabre/objecttree.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/lib/connector') 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)); } } -- cgit v1.2.3