Fixes
This commit is contained in:
parent
3f82f1d009
commit
71cfbe24a0
11208
cobertura.xml
11208
cobertura.xml
File diff suppressed because it is too large
Load Diff
@ -57,6 +57,7 @@ class Fieldset extends Base
|
|||||||
$obj->id = $this->getId();
|
$obj->id = $this->getId();
|
||||||
$obj->dependencys = [];
|
$obj->dependencys = [];
|
||||||
$obj->options = [];
|
$obj->options = [];
|
||||||
|
$obj->name = $this->name;
|
||||||
$obj->type = 12;
|
$obj->type = 12;
|
||||||
foreach ($this->edgesCollectionContainer as $col) {
|
foreach ($this->edgesCollectionContainer as $col) {
|
||||||
$obj->dependencys[] = $col->generateJson();
|
$obj->dependencys[] = $col->generateJson();
|
||||||
|
|||||||
@ -15,6 +15,7 @@ class FieldsetTest extends TestCase
|
|||||||
{
|
{
|
||||||
$this->json = json_decode('{
|
$this->json = json_decode('{
|
||||||
"id": "1",
|
"id": "1",
|
||||||
|
"name": "Inhalt",
|
||||||
"dependencys": [],
|
"dependencys": [],
|
||||||
"type": 12,
|
"type": 12,
|
||||||
"options": [
|
"options": [
|
||||||
@ -40,7 +41,7 @@ class FieldsetTest extends TestCase
|
|||||||
]
|
]
|
||||||
}', true);
|
}', true);
|
||||||
|
|
||||||
$this->xml = '<option type="Fieldset" id="1"><option default="100" id="auflage" name="Auflage" placeholder="Placeholder" type="Input"/><option default="2" id="seiten_umschlag" name="Seiten Umschlag" placeholder="Placeholder" type="Input"/></option>';
|
$this->xml = '<option type="Fieldset" name="Inhalt" id="1"><option default="100" id="auflage" name="Auflage" placeholder="Placeholder" type="Input"/><option default="2" id="seiten_umschlag" name="Seiten Umschlag" placeholder="Placeholder" type="Input"/></option>';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testFromJson()
|
public function testFromJson()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user