Issue Bug Closed

#98704doctrine/dbal 3.5.0 release shows inproper unit test setup

Stefan Bürk 10/23/22, 04:56 updated 12/06/22, 21:44

Description

Nightly failed and showed inproper unit test setup. Due changes
in doctrine/dbal 3.5.0 this now pops up.

See: https://github.com/doctrine/dbal/pull/5770
Pipeline: https://git.typo3.org/typo3/CI/cms/-/jobs/1663602

1) TYPO3\CMS\Core\Tests\Unit\Database\Schema\ConnectionMigratorTest::tableNamesStickToTheMaximumCharactersWhenPrefixedForRemoval
TypeError: array_filter(): Argument #1 ($array) must be of type array, null given
/builds/typo3/CI/cms/vendor/doctrine/dbal/src/Schema/SchemaDiff.php:129
/builds/typo3/CI/cms/typo3/sysext/core/Classes/Utility/GeneralUtility.php:2962
/builds/typo3/CI/cms/typo3/sysext/core/Tests/Unit/Database/Schema/ConnectionMigratorTest.php:76
/builds/typo3/CI/cms/vendor/phpunit/phpunit/phpunit:98

2) TYPO3\CMS\Core\Tests\Unit\Database\Schema\ConnectionMigratorTest::columnNamesStickToTheMaximumCharactersWhenPrefixedForRemoval
Error: Attempt to modify property "removedColumns" on null
/builds/typo3/CI/cms/typo3/sysext/core/Tests/Unit/Database/Schema/ConnectionMigratorTest.php:94
/builds/typo3/CI/cms/vendor/phpunit/phpunit/phpunit:98

Reviews 1