diff options
author | Florin Peter <github@florin-peter.de> | 2013-05-15 10:21:56 +0200 |
---|---|---|
committer | Florin Peter <github@florin-peter.de> | 2013-05-15 10:21:56 +0200 |
commit | 3d7534da7494e7e22cdffa880dc2158f0c6e4d25 (patch) | |
tree | 83edf160d1d0d9abb43f512f8476c81b91de006c /apps | |
parent | 9b7f02f26736542a596d6e1dfb3b8cd9d1875395 (diff) | |
download | nextcloud-server-3d7534da7494e7e22cdffa880dc2158f0c6e4d25.tar.gz nextcloud-server-3d7534da7494e7e22cdffa880dc2158f0c6e4d25.zip |
improved files_encryption tests
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/files_encryption/tests/crypt.php | 2 | ||||
-rw-r--r-- | apps/files_encryption/tests/keymanager.php | 2 | ||||
-rwxr-xr-x | apps/files_encryption/tests/share.php | 2 | ||||
-rwxr-xr-x | apps/files_encryption/tests/util.php | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_encryption/tests/crypt.php b/apps/files_encryption/tests/crypt.php index de7ae38b173..c694aa1140c 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 d24dcaa0360..d3078fdac9f 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 e2e26aa75b5..6962cadc443 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 2abf4096902..1e4e39cc47b 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); |