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:
bruno-ds
2021-09-15 14:39:00 +02:00
parent 66e4f369f7
commit d1721b0834
2 changed files with 14 additions and 11 deletions

View File

@@ -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;