diff --git a/apps/files_sharing/tests/testcase.php b/apps/files_sharing/tests/testcase.php index 65fbfac7d1..d76f8f76eb 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() {