summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-04-27 09:15:50 +0200
committerJoas Schilling <coding@schilljs.com>2017-04-27 09:15:50 +0200
commit53deb26778c674760acd0bc3ca08e8fbc607a034 (patch)
treeb2d4fcb78f6c2791c262d789e890e055d0516d5b /apps/dav
parentd379b197d5968e144e5e4e31661ae1f2cf03e2b6 (diff)
downloadnextcloud-server-53deb26778c674760acd0bc3ca08e8fbc607a034.tar.gz
nextcloud-server-53deb26778c674760acd0bc3ca08e8fbc607a034.zip
Fix duplicate name of class
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php6
-rw-r--r--apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php6
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);