- $this->assertEquals(implode(':', $configLocales), implode(':', $this->langs), 'app.locales configuration variable does not match those found in lang files');
+ $this->assertEquals(implode(':', $this->langs), implode(':', $appLocales), 'app.locales configuration variable does not match those found in lang files');
}
// Not part of standard phpunit test runs since we sometimes expect non-added langs.
}
// Not part of standard phpunit test runs since we sometimes expect non-added langs.
@@ -73,13+76,13 @@ class LanguageTest extends TestCase
}
}
}
}
- public function test_rtl_config_set_if_lang_is_rtl()
+ public function test_views_use_rtl_if_rtl_language_is_set()
{
{
- $this->asEditor();
- $this->assertFalse(config('app.rtl'), 'App RTL config should be false by default');