diff options
author | Joas Schilling <coding@schilljs.com> | 2019-02-22 08:27:22 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-02-22 09:08:53 +0100 |
commit | b4902369fbbbdddd80ef5043bfb3e9dbd9bf1732 (patch) | |
tree | 08ae47a740923cec2d0e2616fee4f405aabdd440 /tests/Core/Command/Encryption/EncryptAllTest.php | |
parent | 0c77cd21f94dd9922e0e04ec4c7e99eff9376e07 (diff) | |
download | nextcloud-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.php | 2 |
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); |