Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
20 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 committed Nov 6, 2017
commit b9156dac4404c583f42105de85350fc8b85b9c31
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