summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/testcase.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-02-16 16:41:51 +0100
committerRobin Appelman <icewind@owncloud.com>2015-02-17 15:05:29 +0100
commit5394a81c05e610b28aae0ebcf5a59c8470b49266 (patch)
tree1976b6ed9b8a4d7776081b0604c11587febd876b /apps/files_sharing/tests/testcase.php
parent04628cf368983a87f9466e02aa569e4ff646880b (diff)
downloadnextcloud-server-5394a81c05e610b28aae0ebcf5a59c8470b49266.tar.gz
nextcloud-server-5394a81c05e610b28aae0ebcf5a59c8470b49266.zip
Dont fatal error test when encryption is enabled
Diffstat (limited to 'apps/files_sharing/tests/testcase.php')
-rw-r--r--apps/files_sharing/tests/testcase.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/testcase.php b/apps/files_sharing/tests/testcase.php
index 65fbfac7d1d..d76f8f76eb4 100644
--- a/apps/files_sharing/tests/testcase.php
+++ b/apps/files_sharing/tests/testcase.php
@@ -88,13 +88,13 @@ abstract class TestCase extends \Test\TestCase {
protected function setUp() {
parent::setUp();
- $this->assertFalse(\OC_App::isEnabled('files_encryption'));
-
//login as user1
self::loginHelper(self::TEST_FILES_SHARING_API_USER1);
$this->data = 'foobar';
$this->view = new \OC\Files\View('/' . self::TEST_FILES_SHARING_API_USER1 . '/files');
+
+ $this->assertFalse(\OC_App::isEnabled('files_encryption'));
}
protected function tearDown() {