]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remember before change works better
authorBart Visscher <bartv@thisnet.nl>
Wed, 18 Sep 2013 20:06:45 +0000 (22:06 +0200)
committerBart Visscher <bartv@thisnet.nl>
Tue, 1 Apr 2014 17:46:46 +0000 (19:46 +0200)
apps/files_encryption/tests/share.php

index be56968ac0992d358bfa76063a58c9ca6d645f69..1f57d7cb635bca44a0f4f84cdc315c23dd65ec1c 100755 (executable)
@@ -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() {