diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-12-01 12:34:37 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-12-04 15:23:20 +0100 |
commit | d2fe30d464adac9b3a4dc300aad135d1cf682017 (patch) | |
tree | 67b52e86b936078351a92b9d93685f913f994211 /apps/dav/tests/unit/Connector | |
parent | c8a29ec94287855bcd02aad6e315a9656ba0183d (diff) | |
download | nextcloud-server-d2fe30d464adac9b3a4dc300aad135d1cf682017.tar.gz nextcloud-server-d2fe30d464adac9b3a4dc300aad135d1cf682017.zip |
Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/dav/tests/unit/Connector')
-rw-r--r-- | apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php b/apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php index a8fbcb39a85..cd575e4ff3c 100644 --- a/apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php @@ -174,6 +174,8 @@ class ObjectTreeTest extends \Test\TestCase { $fileInfo->expects($this->once()) ->method('getName') ->will($this->returnValue($outputFileName)); + $fileInfo->method('getStorage') + ->willReturn($this->createMock(\OC\Files\Storage\Common::class)); $view->expects($this->once()) ->method('getFileInfo') |