adjust encryption tests to the new master key default

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
Bjoern Schiessle 2017-06-02 11:05:10 +02:00
parent c46b158e10
commit 001a9c02dd
No known key found for this signature in database
GPG Key ID: 2378A753E2BF04F6
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ class UtilTest extends TestCase {
*/
public function testIsMasterKeyEnabled($value, $expect) {
$this->configMock->expects($this->once())->method('getAppValue')
->with('encryption', 'useMasterKey', '0')->willReturn($value);
->with('encryption', 'useMasterKey', '1')->willReturn($value);
$this->assertSame($expect,
$this->instance->isMasterKeyEnabled()
);