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 about 7 years ago. Updated over 6 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 #1

Updated by Morton Jonuschat about 7 years ago

  • Parent task set to #79652
Actions #2

Updated by Gerrit Code Review about 7 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

Actions #3

Updated by Morton Jonuschat about 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF