[FOLLOWUP][BUGFIX] Load test classes in non composer mode 02/43902/5
authorHelmut Hummel <helmut.hummel@typo3.org>
Wed, 7 Oct 2015 20:23:55 +0000 (22:23 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 8 Oct 2015 10:38:34 +0000 (12:38 +0200)
Evaluate autoload-dev from ext_emconf.php file as well
(like it is done for autoload already)

Resolves: #70472
Releases: master
Change-Id: I9032911311be20f7fbfe24f088b380f90f4457cc
Reviewed-on: http://review.typo3.org/43902
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Package/PackageManager.php

index c2fa67c..629a4bc 100644 (file)
@@ -1001,6 +1001,9 @@ class PackageManager implements \TYPO3\CMS\Core\SingletonInterface {
                if (isset($extensionManagerConfiguration['autoload'])) {
                        $composerManifest->autoload = json_decode(json_encode($extensionManagerConfiguration['autoload']));
                }
                if (isset($extensionManagerConfiguration['autoload'])) {
                        $composerManifest->autoload = json_decode(json_encode($extensionManagerConfiguration['autoload']));
                }
+               if (isset($extensionManagerConfiguration['autoload-dev'])) {
+                       $composerManifest->{'autoload-dev'} = json_decode(json_encode($extensionManagerConfiguration['autoload-dev']));
+               }
 
                return $composerManifest;
        }
 
                return $composerManifest;
        }