Skip to content
Snippets Groups Projects
Commit 06a5a9d0 authored by Thomas Müller's avatar Thomas Müller
Browse files

Fix mock object to return proper type

parent 11c37415
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,9 @@ class Encryption extends \Test\Files\Storage\Storage {
$file = $this->getMockBuilder('\OC\Encryption\File')
->disableOriginalConstructor()
->setMethods(['getAccessList'])
->getMock();
$file->expects($this->any())->method('getAccessList')->willReturn([]);
$logger = $this->getMock('\OC\Log');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment