Issue Bug Closed

#55270Test loadValuesSetsStaticEnumConstants fails under certain circumstances

Stefano Kowalke 01/23/14, 11:02 updated 10/23/17, 21:41

Description

How to reproduce:
  1. Activate the PHPUnit Module in the BE
  2. Leave the selector on “All extensions”
  3. Hit “Run all tests”
  4. Wait till the tests are done

Now you should see at least one failing test with message:

Testsuite: TYPO3\CMS\Core\Tests\Unit\Type\EnumerationTest

 loadValuesSetsStaticEnumConstants
Failure in test case loadValuesSetsStaticEnumConstants
File: typo3/sysext/core/Tests/Unit/Type/EnumerationTest.php
Line: 92
Failed asserting that two arrays are equal.
Array ( 'Mock_Tx_Phpunit_AccessibleProxy52de644670232_48a1ca4d' =>Array (...) 'TYPO3\CMS\Core\Versioning\VersionState' =>Array (...) )
Memory leak: 417 KB Time: 0.0817 sec.

Reviews 1