summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-09-12 21:04:06 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-09-13 09:09:52 +0200
commitd77982c03f0fdad4e89c7b9b5e2e1aa6e61adba6 (patch)
tree39b6125ed07a3f5d112d6ef62093f8edca297535 /tests
parent4b8d474ec556dfa091b4d6fcc637eded7d296e8b (diff)
downloadnextcloud-server-d77982c03f0fdad4e89c7b9b5e2e1aa6e61adba6.tar.gz
nextcloud-server-d77982c03f0fdad4e89c7b9b5e2e1aa6e61adba6.zip
Fix getMock UserMountcacheTest
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Files/Config/UserMountCacheTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Files/Config/UserMountCacheTest.php b/tests/lib/Files/Config/UserMountCacheTest.php
index b9e09687c95..85bc4146a2d 100644
--- a/tests/lib/Files/Config/UserMountCacheTest.php
+++ b/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() {