summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/tests/share.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-09-18 22:06:45 +0200
committerBart Visscher <bartv@thisnet.nl>2014-04-01 19:46:46 +0200
commitf37a76c396ae728b1f1061cc37213dad5fd06f12 (patch)
treeb0b168270c8de47d94afbab32589caf71df7bff8 /apps/files_encryption/tests/share.php
parentab696edba685cd6d2a64c2e48907f03197aae53f (diff)
downloadnextcloud-server-f37a76c396ae728b1f1061cc37213dad5fd06f12.tar.gz
nextcloud-server-f37a76c396ae728b1f1061cc37213dad5fd06f12.zip
Remember before change works better
Diffstat (limited to 'apps/files_encryption/tests/share.php')
-rwxr-xr-xapps/files_encryption/tests/share.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_encryption/tests/share.php b/apps/files_encryption/tests/share.php
index be56968ac09..1f57d7cb635 100755
--- a/apps/files_encryption/tests/share.php
+++ b/apps/files_encryption/tests/share.php
@@ -100,11 +100,11 @@ class Test_Encryption_Share extends \PHPUnit_Framework_TestCase {
$this->filename = 'share-tmp.test';
- // we don't want to tests with app files_trashbin enabled
- \OC_App::disable('files_trashbin');
-
// remember files_trashbin state
$this->stateFilesTrashbin = OC_App::isEnabled('files_trashbin');
+
+ // we don't want to tests with app files_trashbin enabled
+ \OC_App::disable('files_trashbin');
}
function tearDown() {