mirror of
https://github.com/getgrav/grav.git
synced 2026-08-02 01:19:14 +02:00
Add test for this translatedLanguages
This commit is contained in:
@@ -12,6 +12,10 @@ $grav = function () {
|
||||
$grav = Grav::instance();
|
||||
$grav['config']->init();
|
||||
|
||||
// This must be set first before the other init
|
||||
$grav['config']->set('system.languages.supported', ['en', 'fr', 'vi']);
|
||||
$grav['config']->set('system.languages.default_lang', 'en');
|
||||
|
||||
foreach (array_keys($grav['setup']->getStreams()) as $stream) {
|
||||
@stream_wrapper_unregister($stream);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user