Browse Source
update sharing test to new master key default
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
pull/5174/head
Bjoern Schiessle
9 years ago
No known key found for this signature in database
GPG Key ID: 2378A753E2BF04F6
1 changed files with
2 additions and
0 deletions
-
apps/files_sharing/tests/EncryptedSizePropagationTest.php
|
|
|
@ -36,8 +36,10 @@ class EncryptedSizePropagationTest extends SizePropagationTest { |
|
|
|
$this->createUser($name, $password); |
|
|
|
$tmpFolder = \OC::$server->getTempManager()->getTemporaryFolder(); |
|
|
|
$this->registerMount($name, '\OC\Files\Storage\Local', '/' . $name, ['datadir' => $tmpFolder]); |
|
|
|
$this->config->setAppValue('encryption', 'useMasterKey', '0'); |
|
|
|
$this->setupForUser($name, $password); |
|
|
|
$this->loginWithEncryption($name); |
|
|
|
return new View('/' . $name . '/files'); |
|
|
|
} |
|
|
|
|
|
|
|
} |