Simplify the test

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2017-04-12 13:23:55 +02:00
parent dc78f1251e
commit 30817fa319
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with 1 additions and 1 deletions

View File

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