[BUGFIX] Properly reset package manager in unit tests 21/48421/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Tue, 31 May 2016 14:06:49 +0000 (16:06 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 31 May 2016 17:09:12 +0000 (19:09 +0200)
commitbbe3549bb17ee17e2c076ba4ec109a82796f4de2
treef51c8ef57ad3932a717a64806b03f5094b64c97b
parent76bebbf666aa6b0a38e7fda7317ee29fe02577d2
[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>
typo3/sysext/core/Tests/Unit/TypoScript/TemplateServiceTest.php
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php
typo3/sysext/install/Tests/Unit/Controller/Action/Ajax/ExtensionCompatibilityTesterTest.php
typo3/sysext/install/Tests/Unit/Service/SilentConfigurationUpgradeServiceTest.php
typo3/sysext/install/Tests/Unit/Updates/ContentTypesToTextMediaUpdateTest.php