diff --git a/tests/php-unit-tests/unitary-tests/core/MetaModelTest.php b/tests/php-unit-tests/unitary-tests/core/MetaModelTest.php index c8c9de667..721d87d52 100644 --- a/tests/php-unit-tests/unitary-tests/core/MetaModelTest.php +++ b/tests/php-unit-tests/unitary-tests/core/MetaModelTest.php @@ -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