[BUGFIX] Incomplete mock in ext:install 55/31355/4
authorChristian Kuhn <lolli@schwarzbu.ch>
Sat, 5 Jul 2014 16:01:21 +0000 (18:01 +0200)
committerMarkus Klein <klein.t3@mfc-linz.at>
Sat, 5 Jul 2014 17:28:28 +0000 (19:28 +0200)
commitd54ab2e923e4a6bbc414244946deee64a41c10dd
tree8d1a7bb6acc21700056c7c662f78dc36723de12c
parent269a66b8166e7fc688529f2749088113a5e94a02
[BUGFIX] Incomplete mock in ext:install

"ExtensionCompatibilityTesterTests" triggers loadBaseTca() that
loads TCA and TCA overrides of all active packages. Since the
unit test package manager activates all extensions found, this
may lead to unexpected effects with extensions hanging around
in typo3conf/ext.
The patch creates a backup of the package manager and mocks it
properly in some tests.

Change-Id: Ia5b1ccb449f1611837e6436cab226820b22a9047
Resolves: #60120
Related: #59770
Releases: 6.3, 6.2
Reviewed-on: https://review.typo3.org/31355
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/install/Tests/Unit/Controller/Action/Ajax/ExtensionCompatibilityTesterTest.php