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:
parent
6dc405e1a9
commit
3feb137a32
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in New Issue