[BUGFIX] Avoid PHP notices in unit tests
When commenting out the line SystemEnvironmentBuilder::initializeBasicErrorReporting() then Unit Tests run with notices, showing notices as errors. This happened due to recent updates of the TYPO3 testing framework v6. The fix to overcome this is https://review.typo3.org/c/Packages/TYPO3.CMS/+/62926 but the preferred clean ups are done beforehand. Resolves: #90245 Releases: master Change-Id: Ieb43f2f9524fb18c221b9c690de7116c994f5260 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63068 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org>
Showing
- typo3/sysext/backend/Classes/Security/EmailLoginNotification.php 1 addition, 1 deletion...ysext/backend/Classes/Security/EmailLoginNotification.php
- typo3/sysext/backend/Tests/Unit/Http/RouteDispatcherTest.php 9 additions, 18 deletionstypo3/sysext/backend/Tests/Unit/Http/RouteDispatcherTest.php
- typo3/sysext/core/Classes/Information/Typo3Information.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Information/Typo3Information.php
- typo3/sysext/core/Classes/Routing/PageRouter.php 2 additions, 2 deletionstypo3/sysext/core/Classes/Routing/PageRouter.php
- typo3/sysext/core/Tests/Unit/LinkHandling/LegacyLinkNotationConverterTest.php 1 addition, 1 deletion...sts/Unit/LinkHandling/LegacyLinkNotationConverterTest.php
- typo3/sysext/core/Tests/Unit/Resource/ResourceStorageTest.php 10 additions, 2 deletions...3/sysext/core/Tests/Unit/Resource/ResourceStorageTest.php
- typo3/sysext/core/Tests/Unit/Tree/TableConfiguration/TreeDataProviderFactoryTest.php 1 addition, 1 deletion...t/Tree/TableConfiguration/TreeDataProviderFactoryTest.php
- typo3/sysext/extensionmanager/Classes/Service/ExtensionManagementService.php 4 additions, 1 deletion...ionmanager/Classes/Service/ExtensionManagementService.php
- typo3/sysext/extensionmanager/Tests/Unit/Utility/EmConfUtilityTest.php 4 additions, 4 deletions...extensionmanager/Tests/Unit/Utility/EmConfUtilityTest.php
Please register or sign in to comment