Fix getMock UserMountcacheTest
This commit is contained in:
parent
4b8d474ec5
commit
d77982c03f
|
@ -47,7 +47,7 @@ class UserMountCacheTest extends TestCase {
|
||||||
$userBackend->createUser('u1', '');
|
$userBackend->createUser('u1', '');
|
||||||
$userBackend->createUser('u2', '');
|
$userBackend->createUser('u2', '');
|
||||||
$this->userManager->registerBackend($userBackend);
|
$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() {
|
public function tearDown() {
|
||||||
|
|
Loading…
Reference in New Issue