mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°4261 -Fix CI
Try to repair an odd error in the CI: > Fatal error: Uncaught Exception: Serialization of 'ReflectionClass' is not allowed avoid instantiation in the provider, delay them to the actual test
This commit is contained in:
@@ -587,6 +587,9 @@ abstract class LogAPI
|
||||
static::$m_oFileLog = new FileLog($sTargetFile);
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal uses only for testing purpose.
|
||||
*/
|
||||
public static function MockStaticObjects($oFileLog, $oMetaModelConfig = null)
|
||||
{
|
||||
static::$m_oFileLog = $oFileLog;
|
||||
|
||||
Reference in New Issue
Block a user