diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2015-04-02 16:53:38 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-07 13:30:31 +0200 |
commit | 9a7fbbbc5adb449def29e8571a5a14dcb776b63c (patch) | |
tree | 6fd2f4aa9f12440684ac52e20a552f5d3a3b4616 /apps/files_versions/tests | |
parent | 3d7404fe68474e72a520cb804d7c493e00215752 (diff) | |
download | nextcloud-server-9a7fbbbc5adb449def29e8571a5a14dcb776b63c.tar.gz nextcloud-server-9a7fbbbc5adb449def29e8571a5a14dcb776b63c.zip |
fix versions tests
Diffstat (limited to 'apps/files_versions/tests')
-rw-r--r-- | apps/files_versions/tests/versions.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/files_versions/tests/versions.php b/apps/files_versions/tests/versions.php index 6852f769a3d..f8bfe38df4d 100644 --- a/apps/files_versions/tests/versions.php +++ b/apps/files_versions/tests/versions.php @@ -431,6 +431,12 @@ class Test_Files_Versioning extends \Test\TestCase { \OC::$server->getUserManager()->registerBackend($backend); } + $storage = new \ReflectionClass('\OC\Files\Storage\Shared'); + $isInitialized = $storage->getProperty('isInitialized'); + $isInitialized->setAccessible(true); + $isInitialized->setValue(array()); + $isInitialized->setAccessible(false); + \OC_Util::tearDownFS(); \OC_User::setUserId(''); \OC\Files\Filesystem::tearDown(); |