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.
Actions