Commit 5e558f47 authored by Nicolas Widart's avatar Nicolas Widart

Setting the browser lang for testing env

parent b918717e
......@@ -5,6 +5,9 @@
| Language Settings
|--------------------------------------------------------------------------
*/
if (App::environment() == 'testing') {
$_SERVER['HTTP_ACCEPT_LANGUAGE'] = 'fr_FR';
}
$lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
App::setLocale('fr');
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment