19 declare(strict_types=1);
35 protected function setUp(): void
46 $this->assertEquals(
'de', $this->newLangSetupDe->getLangKey());
47 $this->assertEquals(
'es', $this->newLangSetupEs->getLangKey());
52 $languagesAsKeys = [];
53 foreach ($this->langInstalled as $languageAsKey) {
54 $languagesAsKeys[] = $languageAsKey->getLangKey();
57 $this->assertContains(
'de', $languagesAsKeys);
58 $this->assertContains(
'es', $languagesAsKeys);
ilSetupLanguage $newLangSetupDe
language handling for setup
testRetrieveInstalledLanguage()
Class ilLanguageBaseTest.
Class ilSetupLanguageTest.
testRetrieveLanguageKey()
ilSetupLanguage $newLangSetupEs