aboutsummaryrefslogtreecommitdiffstats
path: root/apps/encryption/tests/UtilTest.php
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-06-02 11:05:10 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2017-07-06 11:47:12 +0200
commit001a9c02dd1361dce5808d21dbbb5c7c4f320172 (patch)
tree4a1e712fb13f82206abde7b841e57b67916fa5da /apps/encryption/tests/UtilTest.php
parentc46b158e10d943a02e7ba941bd24dd0c30b7d3c9 (diff)
downloadnextcloud-server-001a9c02dd1361dce5808d21dbbb5c7c4f320172.tar.gz
nextcloud-server-001a9c02dd1361dce5808d21dbbb5c7c4f320172.zip
adjust encryption tests to the new master key default
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/encryption/tests/UtilTest.php')
-rw-r--r--apps/encryption/tests/UtilTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/tests/UtilTest.php b/apps/encryption/tests/UtilTest.php
index d2f1d40e16d..40fc5537251 100644
--- a/apps/encryption/tests/UtilTest.php
+++ b/apps/encryption/tests/UtilTest.php
@@ -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()
);