Bug #79799
closedTask #79652: Fix functional tests on PostgreSQL
Fix EXT:indexed_search functional tests on PostgreSQL
100%
Description
There were 3 failures:
1) TYPO3\CMS\IndexedSearch\Tests\Unit\Utility\LikeWildcardTest::getLikeQueryPart with data set "underscore placeholder and left wildcard mode" ('tt_content', 'body', 'search_string', 1, 'LIKE '%search\\_string'')
Failed asserting that two strings are identical.
--- Expected
++ Actual@
@
-"body" LIKE '%search\\_string'
"body" LIKE '%search\_string'
/var/www/html/master.local.typo3.org/TYPO3.CMS/typo3/sysext/indexed_search/Tests/Functional/Utility/LikeWildcardTest.php:39
2) TYPO3\CMS\IndexedSearch\Tests\Unit\Utility\LikeWildcardTest::getLikeQueryPart with data set "percent placeholder and right wildcard mode" ('tt_content', 'body', 'search%string', 2, 'LIKE 'search\\%string%'')
Failed asserting that two strings are identical.
--- Expected
++ Actual@
@
-"body" LIKE 'search\\%string%'
"body" LIKE 'search\%string%'
/var/www/html/master.local.typo3.org/TYPO3.CMS/typo3/sysext/indexed_search/Tests/Functional/Utility/LikeWildcardTest.php:39
3) TYPO3\CMS\IndexedSearch\Tests\Unit\Utility\LikeWildcardTest::getLikeQueryPart with data set "percent and underscore placeholder and both wildcards mode" ('tt_content', 'body', '_search%string_', 2, 'LIKE '\\_search\\%string\\_%'')
Failed asserting that two strings are identical.
--- Expected
++ Actual@
@
-"body" LIKE '\\_search\\%string\\_%'
"body" LIKE '\_search\%string\_%'
/var/www/html/master.local.typo3.org/TYPO3.CMS/typo3/sysext/indexed_search/Tests/Functional/Utility/LikeWildcardTest.php:39