summaryrefslogtreecommitdiffstats
path: root/tests/lib/LoggerTest.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-11-27 15:35:29 +0100
committerMorris Jobke <hey@morrisjobke.de>2017-11-27 16:46:47 +0100
commit132764bff538b6011801332616bd588b5cf1e039 (patch)
tree1bbb181736aa0e8efff55c7c5fbfbbc51d0a7538 /tests/lib/LoggerTest.php
parentcfae590ac93f8b5c9c633aafbf205f54a7400201 (diff)
downloadnextcloud-server-132764bff538b6011801332616bd588b5cf1e039.tar.gz
nextcloud-server-132764bff538b6011801332616bd588b5cf1e039.zip
Pass log level to log reporters
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests/lib/LoggerTest.php')
-rw-r--r--tests/lib/LoggerTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lib/LoggerTest.php b/tests/lib/LoggerTest.php
index 54336da105c..6f528bd6fab 100644
--- a/tests/lib/LoggerTest.php
+++ b/tests/lib/LoggerTest.php
@@ -90,7 +90,7 @@ class LoggerTest extends TestCase {
$e = new \Exception('test');
$this->registry->expects($this->once())
->method('delegateReport')
- ->with($e, []);
+ ->with($e, ['level' => 3]);
$this->logger->logException($e);
@@ -109,7 +109,7 @@ class LoggerTest extends TestCase {
$e = new \Exception('test');
$this->registry->expects($this->once())
->method('delegateReport')
- ->with($e, []);
+ ->with($e, ['level' => 3]);
$this->logger->logException($e);
@@ -128,7 +128,7 @@ class LoggerTest extends TestCase {
$e = new \Exception('test');
$this->registry->expects($this->once())
->method('delegateReport')
- ->with($e, []);
+ ->with($e, ['level' => 3]);
$this->logger->logException($e);
@@ -147,7 +147,7 @@ class LoggerTest extends TestCase {
$e = new \Exception('test');
$this->registry->expects($this->once())
->method('delegateReport')
- ->with($e, []);
+ ->with($e, ['level' => 3]);
$this->logger->logException($e);