|
|
|
|
@ -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); |
|
|
|
|
|
|
|
|
|
|