[TASK] Run deprecated unit tests with phpunit 10
Unit deprecated tests are quite easy to fix for phpunit 10: Just static data providers and a single broken test case usage. We do the same as with "casual" unit tests: Temporarily allowing execution with phpunit 10 in runTests.sh in addition to phpunit 9, plus CI addition. Resolves: #100495 Related: #100249 Releases: main Change-Id: I7120d434d25352c27d170011b4f37cfd2a870cf9 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78504 Tested-by:Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- Build/Scripts/runTests.sh 6 additions, 0 deletionsBuild/Scripts/runTests.sh
- Build/gitlab-ci/nightly/unit.yml 16 additions, 0 deletionsBuild/gitlab-ci/nightly/unit.yml
- Build/gitlab-ci/pre-merge/unit.yml 9 additions, 0 deletionsBuild/gitlab-ci/pre-merge/unit.yml
- Build/phpunit/UnitTestsDeprecated-10.xml 45 additions, 0 deletionsBuild/phpunit/UnitTestsDeprecated-10.xml
- Build/testing-docker/local/docker-compose.yml 29 additions, 0 deletionsBuild/testing-docker/local/docker-compose.yml
- typo3/sysext/core/Tests/UnitDeprecated/Compatibility/PublicPropertyDeprecationTraitTest.php 1 addition, 1 deletion...ated/Compatibility/PublicPropertyDeprecationTraitTest.php
- typo3/sysext/core/Tests/UnitDeprecated/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcherTest.php 5 additions, 7 deletions...Script/ConditionMatching/AbstractConditionMatcherTest.php
- typo3/sysext/core/Tests/UnitDeprecated/FormProtection/FormProtectionFactoryTest.php 1 addition, 1 deletion...itDeprecated/FormProtection/FormProtectionFactoryTest.php
- typo3/sysext/core/Tests/UnitDeprecated/Resource/Utility/FileExtensionFilterTest.php 1 addition, 1 deletion...itDeprecated/Resource/Utility/FileExtensionFilterTest.php
- typo3/sysext/core/Tests/UnitDeprecated/TypoScript/Parser/TypoScriptParserTest.php 9 additions, 9 deletions...UnitDeprecated/TypoScript/Parser/TypoScriptParserTest.php
- typo3/sysext/core/Tests/UnitDeprecated/Utility/GeneralUtilityTest.php 3 additions, 3 deletions.../core/Tests/UnitDeprecated/Utility/GeneralUtilityTest.php
- typo3/sysext/core/Tests/UnitDeprecated/Utility/ResourceUtilityTest.php 1 addition, 1 deletion...core/Tests/UnitDeprecated/Utility/ResourceUtilityTest.php
Please register or sign in to comment