mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Locales: Performed cleanup and alignment of locale handling
- Reduced app settings down to what's required. - Used new view-shared $locale object instead of using globals via config. - Aligned language used to default on "locale" instead of mixing locale/language. For #4501
This commit is contained in:
@ -78,6 +78,7 @@ class LanguageTest extends TestCase
|
||||
public function test_rtl_config_set_if_lang_is_rtl()
|
||||
{
|
||||
$this->asEditor();
|
||||
// TODO - Alter
|
||||
$this->assertFalse(config('app.rtl'), 'App RTL config should be false by default');
|
||||
setting()->putUser($this->users->editor(), 'language', 'ar');
|
||||
$this->get('/');
|
||||
|
Reference in New Issue
Block a user