summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-12-02 13:36:33 +0100
committerRobin Appelman <icewind@owncloud.com>2016-01-20 16:32:52 +0100
commit99415a9f7fa26a990848c2cb63333552c1619729 (patch)
tree903a7b9c79cc5db91c12964c4db89c1b8381a9d3 /tests
parent222e719c8760871376327c1f353fe725b430614c (diff)
downloadnextcloud-server-99415a9f7fa26a990848c2cb63333552c1619729.tar.gz
nextcloud-server-99415a9f7fa26a990848c2cb63333552c1619729.zip
multiple minor fies
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/files/config/usermountcache.php12
1 files changed, 1 insertions, 11 deletions
diff --git a/tests/lib/files/config/usermountcache.php b/tests/lib/files/config/usermountcache.php
index cc7686af536..26449b5dd23 100644
--- a/tests/lib/files/config/usermountcache.php
+++ b/tests/lib/files/config/usermountcache.php
@@ -18,16 +18,6 @@ use OCP\IUserManager;
use Test\TestCase;
use Test\Util\User\Dummy;
-class NullLogger extends Log {
- public function __construct($logger = null) {
- //disable original constructor
- }
-
- public function log($level, $message, array $context = array()) {
- //noop
- }
-}
-
/**
* @group DB
*/
@@ -54,7 +44,7 @@ class UserMountCache extends TestCase {
$userBackend->createUser('u1', '');
$userBackend->createUser('u2', '');
$this->userManager->registerBackend($userBackend);
- $this->cache = new \OC\Files\Config\UserMountCache($this->connection, $this->userManager, new NullLogger());
+ $this->cache = new \OC\Files\Config\UserMountCache($this->connection, $this->userManager, $this->getMock('\OC\Log'));
}
public function tearDown() {