Actions
Bug #65744
closedRemove uniqid() usage in ConditionMatcherTest
Start date:
2015-03-15
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:
Description
On windows and in cygwin environments uniqid() has a resolution of one second which results in identical ids if simply uniqid('Foo'); is called.
Because of this uniqid() calls should always be done using \TYPO3\CMS\Core\Tests\BaseTestCase->getUniqueId().
typo3/sysext/frontend/Tests/Unit/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php
$testKey = uniqid('test');
Actions