Project

General

Profile

Actions

Bug #79799

closed

Task #79652: Fix functional tests on PostgreSQL

Fix EXT:indexed_search functional tests on PostgreSQL

Added by Morton Jonuschat almost 8 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Tests
Target version:
Start date:
2017-02-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Stabilization Sprint

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

Actions

Also available in: Atom PDF