From 3abcd59b0369480faf8323f528d4e4503475d989 Mon Sep 17 00:00:00 2001 From: odain Date: Thu, 12 Dec 2019 14:41:26 +0100 Subject: [PATCH] remove redundant test on log api --- test/core/LogAPITest.php | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/test/core/LogAPITest.php b/test/core/LogAPITest.php index 8eefd7de3..006d06ba8 100644 --- a/test/core/LogAPITest.php +++ b/test/core/LogAPITest.php @@ -54,20 +54,7 @@ class LogAPITest extends ItopTestCase [ array(), "log msg", '' , "Error", "log msg"], // Bruno? ]; } - - /** - * @test - * @backupGlobals disabled - */ - public function TestUnknownLevel() - { - $this->mockFileLog->expects($this->exactly(1)) - ->method("Error") - ->with("invalid log level 'TotoLevel'"); - - \IssueLog::Log('TotoLevel', "log msg"); - } - + /** * @dataProvider LogWarningWithASpecificChannelProvider * @test