Dont fatal error test when encryption is enabled
This commit is contained in:
parent
04628cf368
commit
5394a81c05
|
@ -88,13 +88,13 @@ abstract class TestCase extends \Test\TestCase {
|
||||||
protected function setUp() {
|
protected function setUp() {
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
||||||
$this->assertFalse(\OC_App::isEnabled('files_encryption'));
|
|
||||||
|
|
||||||
//login as user1
|
//login as user1
|
||||||
self::loginHelper(self::TEST_FILES_SHARING_API_USER1);
|
self::loginHelper(self::TEST_FILES_SHARING_API_USER1);
|
||||||
|
|
||||||
$this->data = 'foobar';
|
$this->data = 'foobar';
|
||||||
$this->view = new \OC\Files\View('/' . self::TEST_FILES_SHARING_API_USER1 . '/files');
|
$this->view = new \OC\Files\View('/' . self::TEST_FILES_SHARING_API_USER1 . '/files');
|
||||||
|
|
||||||
|
$this->assertFalse(\OC_App::isEnabled('files_encryption'));
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function tearDown() {
|
protected function tearDown() {
|
||||||
|
|
Loading…
Reference in New Issue