diff --git a/tests/php-unit-tests/src/BaseTestCase/ItopDataTestCase.php b/tests/php-unit-tests/src/BaseTestCase/ItopDataTestCase.php index 5f5f15c8f..9660b2bb1 100644 --- a/tests/php-unit-tests/src/BaseTestCase/ItopDataTestCase.php +++ b/tests/php-unit-tests/src/BaseTestCase/ItopDataTestCase.php @@ -59,7 +59,6 @@ abstract class ItopDataTestCase extends ItopTestCase private $iTestOrgId; // For cleanup private $aCreatedObjects = []; - private $aEventListeners = []; /** * @var string Default environment to use for test cases @@ -137,10 +136,6 @@ abstract class ItopDataTestCase extends ItopTestCase \UserRights::Logoff(); $this->SetNonPublicStaticProperty(UserRights::class, 'm_aCacheUsers', []); - foreach ($this->aEventListeners as $sListenerId) { - EventService::UnRegisterListener($sListenerId); - } - parent::tearDown(); }