Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Dont use create mock
  • Loading branch information
tomneedham authored and Vincent Petry committed Nov 7, 2017
commit d681977614082e5b4327f8d9e7a6fcc0e7da6c5e
2 changes: 1 addition & 1 deletion tests/lib/repair/repairmismatchfilecachepathtest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ protected function setUp() {

$this->connection = \OC::$server->getDatabaseConnection();

$mimeLoader = $this->createMock(IMimeTypeLoader::class);
$mimeLoader = $this->getMockBuilder(IMimeTypeLoader::class)->getMock();
$mimeLoader->method('getId')
->will($this->returnValueMap([
['httpd', 1],
Expand Down