1
1
Fork 0
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:
J. King 2017-03-01 12:13:38 -05:00
parent 104f646973
commit 34c69fbf92

View file

@ -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));