Fix getMock UserMountcacheTest

pull/1378/head
Roeland Jago Douma 9 years ago
parent 4b8d474ec5
commit d77982c03f
No known key found for this signature in database
GPG Key ID: 1E152838F164D13B
  1. 2
      tests/lib/Files/Config/UserMountCacheTest.php

@ -47,7 +47,7 @@ class UserMountCacheTest extends TestCase {
$userBackend->createUser('u1', '');
$userBackend->createUser('u2', '');
$this->userManager->registerBackend($userBackend);
$this->cache = new \OC\Files\Config\UserMountCache($this->connection, $this->userManager, $this->getMock('\OC\Log'));
$this->cache = new \OC\Files\Config\UserMountCache($this->connection, $this->userManager, $this->createMock(Log::class));
}
public function tearDown() {

Loading…
Cancel
Save