mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2025-01-08 17:02:41 +00:00
Be explicit about the loaded locale
This commit is contained in:
parent
104f646973
commit
34c69fbf92
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ class TestLangComplex extends \PHPUnit\Framework\TestCase {
|
||||||
* @depends testLazyLoad
|
* @depends testLazyLoad
|
||||||
*/
|
*/
|
||||||
function testGetWantedAndLoadedLocale() {
|
function testGetWantedAndLoadedLocale() {
|
||||||
|
Lang::set("en", true);
|
||||||
Lang::set("ja");
|
Lang::set("ja");
|
||||||
$this->assertEquals("ja", Lang::get());
|
$this->assertEquals("ja", Lang::get());
|
||||||
$this->assertEquals("en", Lang::get(true));
|
$this->assertEquals("en", Lang::get(true));
|
||||||
|
|
Loading…
Reference in a new issue