Bug #64055
closedPHPUnit-Tests fail on Windows (2)
100%
Description
Another test failing on windows (similar to #63943)
Fatal error: Cannot redeclare class TYPO3\CMS\Backend\Tests\Unit\Utility\BackendUtility54a1a650122b7 in D:\typo3\master\typo3\sysext\backend\Tests\Unit\Utility\BackendUtilityTest.php(242) : eval()'d code on line 1
This is due to
public function getProcessedValueForGroupWithMultipleAllowedTables() { // Disable getRecordWSOL and getRecordTitle dependency by returning stable results /** @var \PHPUnit_Framework_MockObject_MockObject|\TYPO3\CMS\Backend\Utility\BackendUtility $subject */ $className = uniqid('BackendUtility'); $subject = __NAMESPACE__ . '\\' . $className;
which has to be replaced with
$className = 'BackendUtility' . md5(uniqid(mt_rand(), TRUE));
Updated by Gerrit Code Review almost 10 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 http://review.typo3.org/35665
Updated by Gerrit Code Review almost 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35665
Updated by Gerrit Code Review almost 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35665
Updated by Gerrit Code Review almost 10 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35665
Updated by Gerrit Code Review almost 10 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35665
Updated by Gerrit Code Review almost 10 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35665
Updated by Gerrit Code Review almost 10 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35665
Updated by Gerrit Code Review almost 10 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35665
Updated by Stephan Großberndt almost 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 61da9595156e23b849f302502f6013dd1bd31e55.
Updated by Gerrit Code Review almost 10 years ago
- Status changed from Resolved 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 http://review.typo3.org/36110
Updated by Gerrit Code Review almost 10 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36133
Updated by Stephan Großberndt almost 10 years ago
- Complexity changed from no-brainer to medium
It turned out that there is a inconsistent usage of uniqid() all over the core. A single implementation of getUniqueId() in BaseTestCase will be called for all usages of uniqid() in tests.
Updated by Stephan Großberndt almost 10 years ago
- Status changed from Under Review to Resolved
Applied in changeset ccf41aee083edae50f8da54e26711002bf0a4ea1.