update sharing test to new master key default

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
Bjoern Schiessle 2017-06-01 12:20:59 +02:00
parent b43f6d295e
commit c46b158e10
No known key found for this signature in database
GPG Key ID: 2378A753E2BF04F6
1 changed files with 2 additions and 0 deletions

View File

@ -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');
}
}