summaryrefslogtreecommitdiffstats
path: root/tests/Core/Command/Encryption/EncryptAllTest.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-02-22 08:27:22 +0100
committerJoas Schilling <coding@schilljs.com>2019-02-22 09:08:53 +0100
commitb4902369fbbbdddd80ef5043bfb3e9dbd9bf1732 (patch)
tree08ae47a740923cec2d0e2616fee4f405aabdd440 /tests/Core/Command/Encryption/EncryptAllTest.php
parent0c77cd21f94dd9922e0e04ec4c7e99eff9376e07 (diff)
downloadnextcloud-server-b4902369fbbbdddd80ef5043bfb3e9dbd9bf1732.tar.gz
nextcloud-server-b4902369fbbbdddd80ef5043bfb3e9dbd9bf1732.zip
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/Core/Command/Encryption/EncryptAllTest.php')
-rw-r--r--tests/Core/Command/Encryption/EncryptAllTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Core/Command/Encryption/EncryptAllTest.php b/tests/Core/Command/Encryption/EncryptAllTest.php
index ca7b264c98f..c6af7e38722 100644
--- a/tests/Core/Command/Encryption/EncryptAllTest.php
+++ b/tests/Core/Command/Encryption/EncryptAllTest.php
@@ -91,7 +91,7 @@ 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('maintenance', false)->willReturn(false);
+ $this->config->expects($this->once())->method('getSystemValueBool')->with('maintenance', false)->willReturn(false);
$this->config->expects($this->at(1))->method('setSystemValue')->with('maintenance', true);
$this->config->expects($this->at(2))->method('setSystemValue')->with('maintenance', false);