summaryrefslogtreecommitdiffstats
path: root/apps/files_versions
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2016-01-22 13:01:37 +0100
committerMorris Jobke <hey@morrisjobke.de>2016-01-28 11:46:43 +0100
commit1369f2c6840e6bbac50526236771cb730a74f975 (patch)
treec504140dd2bb830c7a195e33e28e27185c73952a /apps/files_versions
parentb7710ab6d7db3aa54b1491d2968bc1b0e3a742c4 (diff)
downloadnextcloud-server-1369f2c6840e6bbac50526236771cb730a74f975.tar.gz
nextcloud-server-1369f2c6840e6bbac50526236771cb730a74f975.zip
cleanup shared cache
Diffstat (limited to 'apps/files_versions')
-rw-r--r--apps/files_versions/tests/versions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_versions/tests/versions.php b/apps/files_versions/tests/versions.php
index ac922b74b9f..b85877cebd3 100644
--- a/apps/files_versions/tests/versions.php
+++ b/apps/files_versions/tests/versions.php
@@ -802,9 +802,9 @@ class Test_Files_Versioning extends \Test\TestCase {
}
$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);
\OC_Util::tearDownFS();