This commit is contained in:
Romain Neutron
2013-05-29 21:29:40 +02:00
parent 278eb3c2dc
commit 91185e6f3c
30 changed files with 65 additions and 102 deletions

View File

@@ -22,10 +22,10 @@ class databox_fieldTest extends PhraseanetPHPUnitAbstract
$this->object_multi = $this->databox->get_meta_structure()->get_element_by_name($this->name_multi);
if ( ! $this->object_mono instanceof databox_field) {
if (! $this->object_mono instanceof databox_field) {
$this->object_mono = databox_field::create(self::$DI['app'], $this->databox, $this->name_mono, false);
}
if ( ! $this->object_multi instanceof databox_field) {
if (! $this->object_multi instanceof databox_field) {
$this->object_multi = databox_field::create(self::$DI['app'], $this->databox, $this->name_multi, true);
}
}