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
parent
commit
c46b158e10
No known key found for this signature in database GPG Key ID: 2378A753E2BF04F6
  1. 2
      apps/files_sharing/tests/EncryptedSizePropagationTest.php

2
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');
}
}
Loading…
Cancel
Save