Review TYPO3_4-5 Merged

1786[BUGFIX][TESTS] Fix unit test cropIsMultibyteSafe

Oliver Hader CR +2 V +2 Easy +1 −0 updated 06/03/13, 20:49

Commit message

The unit test cropIsMultibyteSafe (class tslib_contentTest) fails, if
error reporting includes E_WARNING. In this case mb_strlen() throws an
error, as it is called with an empty string as second parameter
$charset. Initializing $GLOBALS['TSFE']->renderCharset in the setUp
method solves this.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1