Actions
Task #99413
closedAvoid usage of resetSingletonInstances in setup
Start date:
2022-12-22
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
Some tests define $this->resetSingletonInstances = true;
in the setUp()
method. This can be replaced with the property protected bool $resetSingletonInstances = true;
and for most cases then, the setUp()
method override can be removed.
Updated by Gerrit Code Review almost 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77202
Updated by Torben Hansen almost 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset e78c65fe298a6c238405c9c5ec103de70065f94b.
Actions