Simplify the test
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
dc78f1251e
commit
30817fa319
|
@ -621,7 +621,7 @@ class EncryptionTest extends Storage {
|
|||
|
||||
$sourceStorage->expects($this->once())
|
||||
->method('file_exists')
|
||||
->willReturnCallback(function() use ($exists) {return $exists;});
|
||||
->willReturn($exists);
|
||||
|
||||
$util = $this->getMockBuilder('\OC\Encryption\Util')
|
||||
->setConstructorArgs([new View(), new Manager($this->config), $this->groupManager, $this->config, $this->arrayCache])
|
||||
|
|
Loading…
Reference in New Issue