[BUGFIX] Properly reset package manager in unit tests
Package manager is a static property in ExtensionManagementUtility that needs proper reset if a test fiddled with it. Use the proxy class at places where this is not done yet. Change-Id: I86d3813e1a4cbcb24c05507923694e498ffcb03d Resolves: #76402 Releases: master Reviewed-on: https://review.typo3.org/48421 Reviewed-by:Morton Jonuschat <m.jonuschat@mojocode.de> Tested-by:
Morton Jonuschat <m.jonuschat@mojocode.de> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
Wouter Wolters <typo3@wouterwolters.nl>
Showing
- typo3/sysext/core/Tests/Unit/TypoScript/TemplateServiceTest.php 17 additions, 6 deletions...sysext/core/Tests/Unit/TypoScript/TemplateServiceTest.php
- typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php 14 additions, 3 deletionstypo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php
- typo3/sysext/install/Tests/Unit/Controller/Action/Ajax/ExtensionCompatibilityTesterTest.php 3 additions, 9 deletions...ntroller/Action/Ajax/ExtensionCompatibilityTesterTest.php
- typo3/sysext/install/Tests/Unit/Service/SilentConfigurationUpgradeServiceTest.php 23 additions, 0 deletions...ts/Unit/Service/SilentConfigurationUpgradeServiceTest.php
- typo3/sysext/install/Tests/Unit/Updates/ContentTypesToTextMediaUpdateTest.php 15 additions, 1 deletion.../Tests/Unit/Updates/ContentTypesToTextMediaUpdateTest.php
Please register or sign in to comment