mirror of
https://github.com/nextcloud/server.git
synced 2026-03-27 04:43:20 -04:00
Fix encryption test
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
3bd104ef7c
commit
8b0051eb40
1 changed files with 3 additions and 2 deletions
|
|
@ -173,8 +173,9 @@ class EncryptionTest extends Storage {
|
|||
->method('get')
|
||||
->willReturnCallback(function($path) {return ['encrypted' => false, 'path' => $path];});
|
||||
|
||||
$this->mountManager = $this->getMockBuilder('\OC\Files\Mount\Manager')
|
||||
->disableOriginalConstructor()->getMock();
|
||||
$this->mountManager = $this->createMock(\OC\Files\Mount\Manager::class);
|
||||
$this->mountManager->method('findByStorageId')
|
||||
->willReturn([]);
|
||||
|
||||
$this->instance = $this->getMockBuilder('\OC\Files\Storage\Wrapper\Encryption')
|
||||
->setConstructorArgs(
|
||||
|
|
|
|||
Loading…
Reference in a new issue