mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 01:28:47 +02:00
✅ Optimize tests execution time (test rework and defensive cleanup)
This commit is contained in:
@@ -26,6 +26,13 @@ class CMDBSourceTest extends ItopTestCase
|
||||
$this->RequireOnceItopFile('/core/cmdbsource.class.inc.php');
|
||||
}
|
||||
|
||||
protected function tearDown(): void
|
||||
{
|
||||
DbConnectionWrapper::SetDbConnectionMockForQuery();
|
||||
|
||||
parent::tearDown();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers CMDBSource::IsSameFieldTypes
|
||||
* @dataProvider compareFieldTypesProvider
|
||||
|
||||
Reference in New Issue
Block a user