Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Use custom image file extensions for image processing tests
If an integrator removes image file extensions, e.g. "gif", from $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'] the whole image processing test in the install tool fails. That's because some tests need to run independent of the global configuration. Therefore the GraphicalFunctions class, which is used as the image processor, now features a setter. This allows EXT:install to manually define required image extensions for the tests, which should not consider the global configuration. Note: The `convertImageFormatsToJpg` test, which tries to convert every defined image file extension (based on the global configuration) to JPG, is not affected by this change. Resolves: #92958 Releases: master, 10.4 Change-Id: Ic84be73c897f497fedd6b442965edf6fb3ef88c3 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67344 Tested-by: Oliver Bartsch <bo@cedev.de> Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Martin Kutschker <mkutschker-typo3@yahoo.com> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by: Oliver Bartsch <bo@cedev.de> Reviewed-by: Martin Kutschker <mkutschker-typo3@yahoo.com> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
- Loading branch information