[BUGFIX] Incomplete mock in ext:install 62/31362/2
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:54 +0000 (19:28 +0200)
commitd37922c42b2c05f5e84eeca94e792ba467ad6572
treefd50d8c215c0deaac15281789ca9a22568ffa639
parente68e7b11bf4d1069a63c6ece9748b49e0bd52ada
[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/31362
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/install/Tests/Unit/Controller/Action/Ajax/ExtensionCompatibilityTesterTest.php