diff options
Diffstat (limited to 'apps/files_versions')
-rw-r--r-- | apps/files_versions/tests/versions.php | 4 |
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(); |