[BUGFIX] Fix functional tests for EXT:extbase on PostgreSQL 33/51733/4
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Fri, 17 Feb 2017 09:03:43 +0000 (01:03 -0800)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 20 Feb 2017 15:48:12 +0000 (16:48 +0100)
commitdde2366e3d4003c99c7f9ce6ebf1c01a210d7c76
treeb7e8bf6b239c5de469717082724877d4dc5a735c
parent85b0698445f98f071c22b45053a9801f6c9da483
[BUGFIX] Fix functional tests for EXT:extbase on PostgreSQL

Fix ExpressionBuilder::inSet() to allow working with columns
on a seondary table on Non-MySQL databases. Fix the usage of
inSet() within Typo3DbQueryParser to properly quote the table
identifier and ensure that all places that use inSet() use it
to compare a string value or a field on a table.

Fix assertions to take string/int differences into account and
ensure consistent order when asserting lists of records.

Change-Id: I9fecd228cde1a7d5a6202702616d806b4354eb4f
Resolves: #79796
Releases: master
Reviewed-on: https://review.typo3.org/51733
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Database/Query/Expression/ExpressionBuilder.php
typo3/sysext/core/Classes/Tree/TableConfiguration/DatabaseTreeDataProvider.php
typo3/sysext/core/Tests/Unit/Database/Query/Expression/ExpressionBuilderTest.php
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbQueryParser.php
typo3/sysext/extbase/Tests/Functional/Persistence/AddTest.php
typo3/sysext/extbase/Tests/Functional/Persistence/QueryParserTest.php
typo3/sysext/extbase/Tests/Functional/Persistence/RelationTest.php
typo3/sysext/extbase/Tests/Functional/Persistence/TranslationTest.php
typo3/sysext/frontend/Classes/Hooks/TreelistCacheUpdateHooks.php