Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorin Peter <github@florin-peter.de>2013-05-15 12:21:56 +0400
committerFlorin Peter <github@florin-peter.de>2013-05-15 12:21:56 +0400
commit3d7534da7494e7e22cdffa880dc2158f0c6e4d25 (patch)
tree83edf160d1d0d9abb43f512f8476c81b91de006c /apps/files_encryption
parent9b7f02f26736542a596d6e1dfb3b8cd9d1875395 (diff)
improved files_encryption tests
Diffstat (limited to 'apps/files_encryption')
-rwxr-xr-xapps/files_encryption/tests/crypt.php2
-rw-r--r--apps/files_encryption/tests/keymanager.php2
-rwxr-xr-xapps/files_encryption/tests/share.php2
-rwxr-xr-xapps/files_encryption/tests/util.php2
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);