Added support for language LDAP attribute

This commit is contained in:
Frederic Guillot
2016-05-07 18:05:33 -04:00
parent aac11a609c
commit 55ee906ba3
28 changed files with 400 additions and 258 deletions

View File

@@ -15,10 +15,10 @@ class ProjectTest extends Base
{
public function testCreationForAllLanguages()
{
$c = new Config($this->container);
$p = new Project($this->container);
foreach ($c->getLanguages() as $locale => $language) {
foreach ($this->container['language']->getLanguages() as $locale => $language) {
Translator::unload();
Translator::load($locale);
$this->assertNotFalse($p->create(array('name' => 'UnitTest '.$locale)), 'Unable to create project with '.$locale.':'.$language);
}