run all tests without mbstring support

The setup we had, where we tried to disable mbstring on a perclass basis
did not actually work because the define is set up in an early include
already.

Ideally we should probably make the check a static instead of a
constant.
This commit is contained in:
Andreas Gohr 2020-06-02 21:44:41 +02:00
parent 6dc405e1a9
commit 3feb137a32
1 changed files with 3 additions and 0 deletions

View File

@ -110,6 +110,9 @@ while (false !== ($entry = $dh->read())) {
}
$dh->close();
// use no mbstring help during tests
if (!defined('UTF8_NOMBSTRING')) define('UTF8_NOMBSTRING', 1);
// load dw
require_once(DOKU_INC.'inc/init.php');