Fix test suite gettext handler.
This commit is contained in:
parent
dfc4ae89ff
commit
62d1f48e4c
|
@ -10,8 +10,7 @@ $autoloader->addClassMap([
|
|||
$GLOBALS['autoloader'] = $autoloader;
|
||||
|
||||
if (!function_exists('__')) {
|
||||
$translator = new \Gettext\Translator();
|
||||
$translator->register();
|
||||
\Gettext\TranslatorFunctions::register(new \Gettext\Translator());
|
||||
}
|
||||
|
||||
// Clear output directory
|
||||
|
|
Loading…
Reference in New Issue