Project

General

Profile

Actions

Bug #81931

closed

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

Added by Joerg Boesche almost 7 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
Category:
Miscellaneous
Start date:
2017-07-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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
  • ...
Actions #1

Updated by Gerrit Code Review almost 7 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53556

Actions #2

Updated by Wouter Wolters over 6 years ago

  • Status changed from Under Review to Rejected
Actions

Also available in: Atom PDF