[TASK] Update PHPunit to v9
PHPunit v9 allows to use further improvements to our testing API, and also offers extended support until at least Feb 2022. PHPunit v9 requires PHP 7.3+ which isn't a problem for us per-se. In addition, composer does not complain about an abandoned package anymore if we upgrade to PHPunit 9. In order to achieve this, we need to explicitly require "codeception/phpunit-wrapper:^9.0" which we can then remove later-on again. Used composer commands: > composer req --dev "phpunit/phpunit:^9.5" "phpspec/prophecy-phpunit" "codeception/phpunit-wrapper:^9.0" -W > composer req --dev "phpunit/phpunit:^9.5" "phpspec/prophecy-phpunit" -d typo3/sysext/core --no-update > composer remove --dev codeception/phpunit-wrapper Used rector to migrate all Unit tests to prevent warnings.. Resolves: #94706 Releases: master Change-Id: I68d9df07421149f4ad40964afc512f0f995b295b Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69297 Tested-by:core-ci <typo3@b13.com> Tested-by:
Mathias Brodala <mbrodala@pagemachine.de> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Mathias Brodala <mbrodala@pagemachine.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- composer.json 2 additions, 1 deletioncomposer.json
- composer.lock 585 additions, 265 deletionscomposer.lock
- typo3/sysext/adminpanel/Tests/Unit/Middleware/AdminPanelInitiatorTest.php 1 addition, 0 deletions...inpanel/Tests/Unit/Middleware/AdminPanelInitiatorTest.php
- typo3/sysext/adminpanel/Tests/Unit/Modules/PreviewModuleTest.php 1 addition, 0 deletions...ysext/adminpanel/Tests/Unit/Modules/PreviewModuleTest.php
- typo3/sysext/adminpanel/Tests/Unit/Service/ConfigurationServiceTest.php 1 addition, 0 deletions...dminpanel/Tests/Unit/Service/ConfigurationServiceTest.php
- typo3/sysext/adminpanel/Tests/Unit/Service/ModuleLoaderTest.php 1 addition, 1 deletion...sysext/adminpanel/Tests/Unit/Service/ModuleLoaderTest.php
- typo3/sysext/adminpanel/Tests/Unit/Utility/StateUtilityTest.php 1 addition, 1 deletion...sysext/adminpanel/Tests/Unit/Utility/StateUtilityTest.php
- typo3/sysext/backend/Tests/Functional/Authentication/PasswordResetTest.php 1 addition, 0 deletions...end/Tests/Functional/Authentication/PasswordResetTest.php
- typo3/sysext/backend/Tests/Functional/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php 1 addition, 0 deletions...ion/TypoScript/ConditionMatching/ConditionMatcherTest.php
- typo3/sysext/backend/Tests/Functional/Controller/FormInlineAjaxControllerTest.php 2 additions, 2 deletions...ts/Functional/Controller/FormInlineAjaxControllerTest.php
- typo3/sysext/backend/Tests/Functional/Controller/MfaConfigurationControllerTest.php 6 additions, 6 deletions.../Functional/Controller/MfaConfigurationControllerTest.php
- typo3/sysext/backend/Tests/Functional/Controller/MfaControllerTest.php 4 additions, 3 deletions...backend/Tests/Functional/Controller/MfaControllerTest.php
- typo3/sysext/backend/Tests/Functional/Controller/ResetPasswordControllerTest.php 2 additions, 1 deletion...sts/Functional/Controller/ResetPasswordControllerTest.php
- typo3/sysext/backend/Tests/Functional/Form/MfaInfoElementTest.php 25 additions, 24 deletions...sext/backend/Tests/Functional/Form/MfaInfoElementTest.php
- typo3/sysext/backend/Tests/Functional/View/PageLayoutViewTest.php 1 addition, 0 deletions...sext/backend/Tests/Functional/View/PageLayoutViewTest.php
- typo3/sysext/backend/Tests/Unit/Configuration/BackendUserConfigurationTest.php 1 addition, 0 deletions...Tests/Unit/Configuration/BackendUserConfigurationTest.php
- typo3/sysext/backend/Tests/Unit/Configuration/TranslationConfigurationProviderTest.php 1 addition, 0 deletions...it/Configuration/TranslationConfigurationProviderTest.php
- typo3/sysext/backend/Tests/Unit/Controller/EditDocumentControllerTest.php 1 addition, 0 deletions...kend/Tests/Unit/Controller/EditDocumentControllerTest.php
- typo3/sysext/backend/Tests/Unit/Controller/File/FileControllerTest.php 1 addition, 0 deletions...backend/Tests/Unit/Controller/File/FileControllerTest.php
- typo3/sysext/backend/Tests/Unit/Controller/FormInlineAjaxControllerTest.php 1 addition, 0 deletions...nd/Tests/Unit/Controller/FormInlineAjaxControllerTest.php
Please register or sign in to comment