From 53deb26778c674760acd0bc3ca08e8fbc607a034 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 27 Apr 2017 09:15:50 +0200 Subject: [PATCH] Fix duplicate name of class Signed-off-by: Joas Schilling --- apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php | 6 +++--- apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php b/apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php index 1eb3741abf2..fa39cd77274 100644 --- a/apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php @@ -30,7 +30,7 @@ use OCP\Files\ForbiddenException; use OC\Files\FileInfo; use OCA\DAV\Connector\Sabre\Directory; -class TestDoubleFileView extends \OC\Files\View { +class TestViewDirectory extends \OC\Files\View { private $updatables; private $deletables; @@ -386,7 +386,7 @@ class DirectoryTest extends \Test\TestCase { * @param $updatables */ private function moveTest($source, $destination, $updatables, $deletables) { - $view = new TestDoubleFileView($updatables, $deletables); + $view = new TestViewDirectory($updatables, $deletables); $sourceInfo = new FileInfo($source, null, null, [], null); $targetInfo = new FileInfo(dirname($destination), null, null, [], null); @@ -412,7 +412,7 @@ class DirectoryTest extends \Test\TestCase { $updatables = ['a' => true, 'a/b' => true, 'b' => true, 'c/b' => false]; $deletables = ['a/b' => true]; - $view = new TestDoubleFileView($updatables, $deletables); + $view = new TestViewDirectory($updatables, $deletables); $sourceInfo = new FileInfo($source, null, null, [], null); $targetInfo = new FileInfo(dirname($destination), null, null, [], null); diff --git a/apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php b/apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php index 098d4e27023..3fae9d626e6 100644 --- a/apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php @@ -36,7 +36,7 @@ use OC\Files\View; use OCA\DAV\Connector\Sabre\Directory; use OCA\DAV\Connector\Sabre\ObjectTree; -class TestDoubleFileView extends \OC\Files\View { +class TestViewObjectTree extends \OC\Files\View { public function __construct($creatables, $updatables, $deletables, $canRename = true) { $this->creatables = $creatables; @@ -163,7 +163,7 @@ class ObjectTreeTest extends \Test\TestCase { * @param $throwsBeforeGetNode */ private function moveTest($source, $destination, $creatables, $updatables, $deletables, $throwsBeforeGetNode = false) { - $view = new TestDoubleFileView($creatables, $updatables, $deletables); + $view = new TestViewObjectTree($creatables, $updatables, $deletables); $info = new FileInfo('', null, null, array(), null); @@ -460,7 +460,7 @@ class ObjectTreeTest extends \Test\TestCase { $updatables = array('a' => true, 'a/b' => true, 'b' => true, 'b/b' => false); $deletables = array('a/b' => true); - $view = new TestDoubleFileView($updatables, $updatables, $deletables); + $view = new TestViewObjectTree($updatables, $updatables, $deletables); $info = new FileInfo('', null, null, array(), null); -- 2.39.5