-
Notifications
You must be signed in to change notification settings - Fork 638
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Unit tests: Do not rely on CacheManager instance
The typo3/testing-framework bootstrap up until now initialized the CacheManager singleton and put it into GeneralUtility instance stack. To better isolate the tests and as a next step in side effect free uni testing, the test bootstrap now cleans this instance after use: composer update typo/testing-framework About 300 tests fail with this and are fixed with the patch by improving their mocking. Change-Id: Ia3e9dd1f94af10b20e0463a0062ccde74be23660 Resolves: #84004 Releases: master Reviewed-on: https://review.typo3.org/55855 Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com> Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com> Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
- Loading branch information
1 parent
017e870
commit 73bfbe1
Showing
35 changed files
with
575 additions
and
579 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.