Optimize tests execution time (no need for process isolation as long as we leave the premises clean)

This commit is contained in:
Romain Quetiez
2023-10-27 14:24:16 +02:00
parent f58ec7e38e
commit 3c14e5e032

View File

@@ -27,7 +27,13 @@ class MetaModelTest extends ItopDataTestCase
$this->RequireOnceItopFile('/core/metamodel.class.php');
}
/**
protected function tearDown(): void
{
$this->InvokeNonPublicStaticMethod('PluginManager', 'ResetPlugins');
parent::tearDown();
}
/**
* @group itopRequestMgmt
* @covers MetaModel::ApplyParams()
* @dataProvider ApplyParamsProvider
@@ -216,8 +222,6 @@ class MetaModelTest extends ItopDataTestCase
}
/**
* @runInSeparateProcess
*
* @dataProvider enumPluginsProvider
*
* @param $expectedResults
@@ -265,8 +269,6 @@ class MetaModelTest extends ItopDataTestCase
}
/**
* @runInSeparateProcess
*
* @dataProvider getPluginsProvider
*
* @param $expectedInstanciationCalls