diff --git a/apps/files_encryption/tests/crypt.php b/apps/files_encryption/tests/crypt.php index de7ae38b173e26e138c482cf11163587645c8ef0..c694aa1140cc6d07e5f5a142026c9ba3b90e2b8b 100755 --- a/apps/files_encryption/tests/crypt.php +++ b/apps/files_encryption/tests/crypt.php @@ -66,7 +66,7 @@ class Test_Crypt extends \PHPUnit_Framework_TestCase { \OC_Util::tearDownFS(); \OC_User::setUserId(''); - \OC\Files\Filesystem::setView(false); + \OC\Files\Filesystem::tearDown(); \OC_Util::setupFS($this->userId); \OC_User::setUserId($this->userId); diff --git a/apps/files_encryption/tests/keymanager.php b/apps/files_encryption/tests/keymanager.php index d24dcaa0360d7c3644605c8efb7378e9830cfbae..d3078fdac9f323eb3db27cbf7881c5f9ed5cd189 100644 --- a/apps/files_encryption/tests/keymanager.php +++ b/apps/files_encryption/tests/keymanager.php @@ -59,7 +59,7 @@ class Test_Keymanager extends \PHPUnit_Framework_TestCase { \OC_Util::tearDownFS(); \OC_User::setUserId(''); - \OC\Files\Filesystem::setView(false); + \OC\Files\Filesystem::tearDown(); \OC_Util::setupFS($this->userId); \OC_User::setUserId($this->userId); diff --git a/apps/files_encryption/tests/share.php b/apps/files_encryption/tests/share.php index e2e26aa75b53499c50309403b79526f62073461c..6962cadc443699ad883656013e34ee1a7b4bd4fa 100755 --- a/apps/files_encryption/tests/share.php +++ b/apps/files_encryption/tests/share.php @@ -462,7 +462,7 @@ class Test_Encryption_Share extends \PHPUnit_Framework_TestCase \OC_Util::tearDownFS(); \OC_User::setUserId(''); - \OC\Files\Filesystem::setView(false); + \OC\Files\Filesystem::tearDown(); \OC_Util::setupFS($user); \OC_User::setUserId($user); diff --git a/apps/files_encryption/tests/util.php b/apps/files_encryption/tests/util.php index 2abf4096902810944d902f38718092d4f640af04..1e4e39cc47b9652fef888e97da4809bfdb0e490a 100755 --- a/apps/files_encryption/tests/util.php +++ b/apps/files_encryption/tests/util.php @@ -64,7 +64,7 @@ class Test_Enc_Util extends \PHPUnit_Framework_TestCase { \OC_Util::tearDownFS(); \OC_User::setUserId(''); - \OC\Files\Filesystem::setView(false); + \OC\Files\Filesystem::tearDown(); \OC_Util::setupFS($this->userId); \OC_User::setUserId($this->userId);