diff options
Diffstat (limited to 'tests/core/command/encryption/encryptalltest.php')
-rw-r--r-- | tests/core/command/encryption/encryptalltest.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/core/command/encryption/encryptalltest.php b/tests/core/command/encryption/encryptalltest.php index 9f7f7375044..128b4caa148 100644 --- a/tests/core/command/encryption/encryptalltest.php +++ b/tests/core/command/encryption/encryptalltest.php @@ -85,7 +85,9 @@ class EncryptAllTest extends TestCase { $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); + $instance = new EncryptAll($this->encryptionManager, $this->appManager, $this->config, $this->questionHelper); + $this->invokePrivate($instance, 'forceSingleUserAndTrashbin'); + $this->invokePrivate($instance, 'resetSingleUserAndTrashbin'); } /** |