mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 00:28:47 +02:00
fix and complete testcase
This commit is contained in:
@@ -365,7 +365,7 @@ abstract class LogAPI
|
||||
*/
|
||||
private static function GetMinLogLevel($sChannel)
|
||||
{
|
||||
$oConfig = (static::$m_oMockMetaModelConfig === null) ? static::$m_oMockMetaModelConfig : \MetaModel::GetConfig();
|
||||
$oConfig = (static::$m_oMockMetaModelConfig !== null) ? static::$m_oMockMetaModelConfig : \MetaModel::GetConfig();
|
||||
if (!$oConfig instanceof Config)
|
||||
{
|
||||
return self::LEVEL_OK;
|
||||
|
||||
Reference in New Issue
Block a user