From 82eb3f8027ba95dd859cde75241921222d970ce1 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 17 Sep 2015 08:48:25 +0200 Subject: Fix the singleuser config casing in new encryption code --- tests/core/command/encryption/encryptalltest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/core/command/encryption/encryptalltest.php') diff --git a/tests/core/command/encryption/encryptalltest.php b/tests/core/command/encryption/encryptalltest.php index 41edee6987c..9f7f7375044 100644 --- a/tests/core/command/encryption/encryptalltest.php +++ b/tests/core/command/encryption/encryptalltest.php @@ -81,9 +81,9 @@ class EncryptAllTest extends TestCase { $this->appManager->expects($this->once())->method('disableApp')->with('files_trashbin'); // enable single user mode to avoid that other user login during encryption // destructor should disable the single user mode again - $this->config->expects($this->once())->method('getSystemValue')->with('singleUser', false)->willReturn(false); - $this->config->expects($this->at(1))->method('setSystemValue')->with('singleUser', true); - $this->config->expects($this->at(2))->method('setSystemValue')->with('singleUser', false); + $this->config->expects($this->once())->method('getSystemValue')->with('singleuser', false)->willReturn(false); + $this->config->expects($this->at(1))->method('setSystemValue')->with('singleuser', true); + $this->config->expects($this->at(2))->method('setSystemValue')->with('singleuser', false); new EncryptAll($this->encryptionManager, $this->appManager, $this->config, $this->questionHelper); } -- cgit v1.2.3