-
Updating to latest v7 branch of phpunit is blocked by codeception which relies on phpunit-mock-objects, so we need to update this first from 2.4 to 2.5: composer require --dev codeception/codeception:^2.5.4 Updating its dependencies then drops phpunit-mock-objects and fetches phpunit 7.5: composer update --with-dependencies codeception/codeception Younger phpunit now has a random-order built in, the currently used plugin can be removed: composer remove --dev fiunchinho/phpunit-randomizer typo3/testing-framework needs a raise to prevent a lower phpunit version that would break the randomizer again: composer require --dev typo3/testing-framework:~5.0.6 runTests.sh and its docker-compose file need some adaptions so the unit test randomizer can be used, example calls: Build/Scripts/runTests.sh -s unitRandom Build/Scripts/runTests.sh -s unitRandom -o 1551445682 bamboo also needs some adaptions to now use built in phpunit random functionality instead of phpunit-randomizer. Change-Id: I0acfebdcb1f4da785845c8397ad23b7bb8174505 Resolves: #87107 Releases: master, 9.5 Reviewed-on: https://review.typo3.org/c/59823 Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
f74cf58c
Analyzing file…