[BUGFIX] Fix functional tests for EXT:core on PostgreSQL 64/51664/5
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Wed, 8 Feb 2017 04:58:53 +0000 (20:58 -0800)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 16 Feb 2017 22:13:55 +0000 (23:13 +0100)
commit6eda664fd99a414dcbd155e67146ce473d4c49cf
tree008a391afacb4041f041d546916fb110fba33402
parentf2283d76b03bd8941246e13a92b8796c38d19e95
[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>
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/core/Classes/DataHandling/Localization/DataMapProcessor.php
typo3/sysext/core/Tests/Functional/Cache/Backend/Typo3DatabaseBackendTest.php
typo3/sysext/core/Tests/Functional/DataHandling/AbstractDataHandlerActionTestCase.php
typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/SpecialLanguagesTest.php
typo3/sysext/core/Tests/Functional/Database/Fixtures/changeExistingColumn.sql
typo3/sysext/core/Tests/Functional/Database/Fixtures/importStaticData.sql
typo3/sysext/core/Tests/Functional/Database/Fixtures/newTable.sql
typo3/sysext/core/Tests/Functional/Database/Schema/SchemaMigratorTest.php