From 132764bff538b6011801332616bd588b5cf1e039 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 27 Nov 2017 15:35:29 +0100 Subject: Pass log level to log reporters Signed-off-by: Morris Jobke --- tests/lib/LoggerTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/lib/LoggerTest.php') 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); -- cgit v1.2.3