Bug #50812
closedMake sure in unit tests the singletons are backup at first
100%
Description
If in unit tests the singleton management is changed there is a local copy of the initial stage. If the backup contains classes which were created during setup method after finishing the test the internal __destruct method is called. This is why it is necessary to store the singleton classes before any other initialization otherwise the construct function is not executed for other tests and properties are false or missing.
Updated by Gerrit Code Review over 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22838
Updated by Gerrit Code Review over 11 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22838
Updated by Gerrit Code Review over 11 years ago
Patch set 1 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/22899
Updated by Gerrit Code Review over 11 years ago
Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/22900
Updated by Nicole Cordes over 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a079ad679f1726e9d8eff5723d0b590b4b3cee87.