summaryrefslogtreecommitdiffstats
path: root/tests/lib/LoggerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/LoggerTest.php')
-rw-r--r--tests/lib/LoggerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/LoggerTest.php b/tests/lib/LoggerTest.php
index 9f226a395b6..83cb87b8733 100644
--- a/tests/lib/LoggerTest.php
+++ b/tests/lib/LoggerTest.php
@@ -30,7 +30,7 @@ class LoggerTest extends TestCase implements IWriter {
parent::setUp();
$this->logs = [];
- $this->config = $this->createMock(\OCP\IConfig::class);
+ $this->config = $this->createMock(\OC\SystemConfig::class);
$this->registry = $this->createMock(\OCP\Support\CrashReport\IRegistry::class);
$this->logger = new Log($this, $this->config, null, $this->registry);
}
@@ -45,7 +45,7 @@ class LoggerTest extends TestCase implements IWriter {
public function testAppCondition() {
$this->config->expects($this->any())
- ->method('getSystemValue')
+ ->method('getValue')
->will(($this->returnValueMap([
['loglevel', ILogger::WARN, ILogger::WARN],
['log.condition', [], ['apps' => ['files']]]