[BUGFIX] Fix functional tests for EXT:core on PostgreSQL
Fix reliance on MySQLs implicit secondary ordering by uid within DataHandler. Reset sequenced on non-MySQL database platforms. Sort expected results retrieved from the database and switch to using assertEquals() to avoid string/int type differences in result rows due to different drivers. Change-Id: I95a8cdb81dbbdb6c4bcf2c6c9ad9f0e5f9ae44fe Resolves: #79672 Releases: master Reviewed-on: https://review.typo3.org/51664 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Frank Nägler <frank.naegler@typo3.org> Reviewed-by:
Manuel Selbach <manuel_selbach@yahoo.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 20 additions, 12 deletionstypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Classes/DataHandling/Localization/DataMapProcessor.php 1 addition, 0 deletions...re/Classes/DataHandling/Localization/DataMapProcessor.php
- typo3/sysext/core/Tests/Functional/Cache/Backend/Typo3DatabaseBackendTest.php 3 additions, 3 deletions...sts/Functional/Cache/Backend/Typo3DatabaseBackendTest.php
- typo3/sysext/core/Tests/Functional/DataHandling/AbstractDataHandlerActionTestCase.php 3 additions, 2 deletions...tional/DataHandling/AbstractDataHandlerActionTestCase.php
- typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/SpecialLanguagesTest.php 2 additions, 1 deletion...ctional/DataHandling/DataHandler/SpecialLanguagesTest.php
- typo3/sysext/core/Tests/Functional/Database/Fixtures/changeExistingColumn.sql 1 addition, 1 deletion...sts/Functional/Database/Fixtures/changeExistingColumn.sql
- typo3/sysext/core/Tests/Functional/Database/Fixtures/importStaticData.sql 2 additions, 2 deletions...e/Tests/Functional/Database/Fixtures/importStaticData.sql
- typo3/sysext/core/Tests/Functional/Database/Fixtures/newTable.sql 1 addition, 0 deletions...sext/core/Tests/Functional/Database/Fixtures/newTable.sql
- typo3/sysext/core/Tests/Functional/Database/Schema/SchemaMigratorTest.php 12 additions, 6 deletions...e/Tests/Functional/Database/Schema/SchemaMigratorTest.php
Please register or sign in to comment