Issue Bug Rejected

#81931Failed unit tests when using GeneralUtility::purgeInstances in other tests

Joerg Boesche 07/20/17, 15:20 updated 09/01/17, 11:38

Description

If a UnitTest is using “GeneralUtility::purgeInstances()” other tests fail.
There are a lot of UnitTests that have dependencies on previous test classes and test calls. This must be resolved. Each test must be run in its own scope.

Failing tests in test classes, if there are unit test classes with GeneralUtility::purgeInstances() calls.
  • \TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest
  • \TYPO3\CMS\Extbase\Tests\Unit\Object\Container\ContainerTest
  • \TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\BackendTest
  • \TYPO3\CMS\Extbase\Tests\Unit\Utility\LocalizationUtilityTest
  • …

Reviews 1