adjust encryption tests to the new master key default
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
parent
c46b158e10
commit
001a9c02dd
|
@ -152,7 +152,7 @@ class UtilTest extends TestCase {
|
||||||
*/
|
*/
|
||||||
public function testIsMasterKeyEnabled($value, $expect) {
|
public function testIsMasterKeyEnabled($value, $expect) {
|
||||||
$this->configMock->expects($this->once())->method('getAppValue')
|
$this->configMock->expects($this->once())->method('getAppValue')
|
||||||
->with('encryption', 'useMasterKey', '0')->willReturn($value);
|
->with('encryption', 'useMasterKey', '1')->willReturn($value);
|
||||||
$this->assertSame($expect,
|
$this->assertSame($expect,
|
||||||
$this->instance->isMasterKeyEnabled()
|
$this->instance->isMasterKeyEnabled()
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue