Actions
Bug #89149
closedFix assertion ordering in test cases
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Tests
Target version:
-
Start date:
2019-09-11
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
1) TYPO3\CMS\Backend\Tests\Functional\Clipboard\ClipboardTest::localizationsAreResolved with data set "live workspace with live & version localizations" (1100, 0, array('FR: Welcome', 'FR-CA: Welcome')) Failed asserting that two arrays are identical. --- Expected +++ Actual @@ @@ Array &0 ( - 0 => 'FR: Welcome' - 1 => 'FR-CA: Welcome' + 0 => 'FR-CA: Welcome' + 1 => 'FR: Welcome' )
Use assertEqualsCanonicalizing
instead of assertSame
on array values to ignore ordering.
Updated by Gerrit Code Review about 5 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/c/Packages/TYPO3.CMS/+/61666
Updated by Oliver Hader about 5 years ago
- Follows Bug #89138: Correctly retrieve workspace versions added
Updated by Oliver Hader about 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 203b83ca36156cd9e6a9365bb4ab69513e1be70f.
Actions