mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
remove redundant test on log api
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user