#78298phpunit fails with extensions on current master
Description
Hello Core-Team,
I can’t run phpunit Tests for my extensions on current master of TYPO3: 9e27eb11ddcb7c3612b3cc786e77aec65d1e88b0
Error: Class xyz not found.
It seems that it is only a problem with extensions with a composer.json.
I have found following lines in Bootstrap::baseSetup:
if (!self::$usesComposerClassLoading && ClassLoadingInformation::isClassLoadingInformationAvailable()) {
ClassLoadingInformation::registerClassLoadingInformation();
}
after adding a “!” to last condition it works for phpunit, but FE and BE are broken then.
if (!self::$usesComposerClassLoading && !ClassLoadingInformation::isClassLoadingInformationAvailable()) {
ClassLoadingInformation::registerClassLoadingInformation();
}
Stefan