Dont fatal error test when encryption is enabled

This commit is contained in:
Robin Appelman 2015-02-16 16:41:51 +01:00
parent 04628cf368
commit 5394a81c05
1 changed files with 2 additions and 2 deletions

View File

@ -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() {