mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 17:48:43 +02:00
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user