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
Updated by Gerrit Code Review almost 8 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51765
Updated by Morton Jonuschat almost 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 85b0698445f98f071c22b45053a9801f6c9da483.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed