Merge remote-tracking branch 'origin/support/2.7' into support/3.0

This commit is contained in:
Molkobain
2024-04-12 10:00:56 +02:00

View File

@@ -190,7 +190,7 @@ abstract class ItopCustomDatamodelTestCase extends ItopDataTestCase
CMDBSource::CreateDB($oTestConfig->Get('db_name'));
MetaModel::Startup($sConfFile, false /* $bModelOnly */, true /* $bAllowCache */, false /* $bTraceSourceFiles */, $sTestEnv);
// N°7446 For some reason we need to create the DB schema before starting the MM, then only we can create the tables.
MetaModel::DBCreate();
MetaModel::DBCreate();
$this->MarkEnvironmentReady();
$this->debug('Preparation of custom environment "'.$sTestEnv.'" done.');