Issue Bug Closed

#65744Remove uniqid() usage in ConditionMatcherTest

Stephan Großberndt 03/15/15, 14:25 updated 10/02/18, 11:45

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');

Reviews 1