From 246bb9f33d23340d821384b25097066f65c5d483 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 1 Jun 2016 14:29:31 +0200 Subject: Move OC\Files\Storage\Shared to the right namespace --- apps/files_sharing/tests/CacheTest.php | 4 ++-- apps/files_sharing/tests/SharedStorageTest.php | 2 +- apps/files_sharing/tests/TestCase.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/files_sharing/tests') diff --git a/apps/files_sharing/tests/CacheTest.php b/apps/files_sharing/tests/CacheTest.php index 531aa13aa33..ae0247a84e2 100644 --- a/apps/files_sharing/tests/CacheTest.php +++ b/apps/files_sharing/tests/CacheTest.php @@ -488,7 +488,7 @@ class CacheTest extends TestCase { $this->assertTrue(\OC\Files\Filesystem::file_exists('/test.txt')); list($sharedStorage) = \OC\Files\Filesystem::resolvePath('/' . self::TEST_FILES_SHARING_API_USER2 . '/files/test.txt'); /** - * @var \OC\Files\Storage\Shared $sharedStorage + * @var \OCA\Files_Sharing\SharedStorage $sharedStorage */ $sharedCache = $sharedStorage->getCache(); @@ -518,7 +518,7 @@ class CacheTest extends TestCase { $this->assertTrue(\OC\Files\Filesystem::file_exists('/foo')); list($sharedStorage) = \OC\Files\Filesystem::resolvePath('/' . self::TEST_FILES_SHARING_API_USER2 . '/files/foo'); /** - * @var \OC\Files\Storage\Shared $sharedStorage + * @var \OCA\Files_Sharing\SharedStorage $sharedStorage */ $sharedCache = $sharedStorage->getCache(); diff --git a/apps/files_sharing/tests/SharedStorageTest.php b/apps/files_sharing/tests/SharedStorageTest.php index 9be52b3febb..2486e23af1b 100644 --- a/apps/files_sharing/tests/SharedStorageTest.php +++ b/apps/files_sharing/tests/SharedStorageTest.php @@ -523,7 +523,7 @@ class SharedStorageTest extends TestCase { $mount = $view2->getMount('/foo'); $this->assertInstanceOf('\OCA\Files_Sharing\SharedMount', $mount); - /** @var \OC\Files\Storage\Shared $storage */ + /** @var \OCA\Files_Sharing\SharedStorage $storage */ $storage = $mount->getStorage(); $this->assertEquals(self::TEST_FILES_SHARING_API_USER1, $storage->getOwner('')); diff --git a/apps/files_sharing/tests/TestCase.php b/apps/files_sharing/tests/TestCase.php index 1777eb5bad2..a9163a086bf 100644 --- a/apps/files_sharing/tests/TestCase.php +++ b/apps/files_sharing/tests/TestCase.php @@ -184,7 +184,7 @@ abstract class TestCase extends \Test\TestCase { * reset init status for the share storage */ protected static function resetStorage() { - $storage = new \ReflectionClass('\OC\Files\Storage\Shared'); + $storage = new \ReflectionClass('\OCA\Files_Sharing\SharedStorage'); $isInitialized = $storage->getProperty('initialized'); $isInitialized->setAccessible(true); $isInitialized->setValue($storage, false); -- cgit v1.2.3