diff options
Diffstat (limited to 'apps/files_sharing/tests/testcase.php')
-rw-r--r-- | apps/files_sharing/tests/testcase.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/testcase.php b/apps/files_sharing/tests/testcase.php index a9da39f446b..ce0a8beeec8 100644 --- a/apps/files_sharing/tests/testcase.php +++ b/apps/files_sharing/tests/testcase.php @@ -174,9 +174,9 @@ abstract class TestCase extends \Test\TestCase { */ protected static function resetStorage() { $storage = new \ReflectionClass('\OC\Files\Storage\Shared'); - $isInitialized = $storage->getProperty('isInitialized'); + $isInitialized = $storage->getProperty('initialized'); $isInitialized->setAccessible(true); - $isInitialized->setValue(array()); + $isInitialized->setValue($storage, false); $isInitialized->setAccessible(false); } |