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->dependencys = [];
|
||||
$obj->options = [];
|
||||
$obj->name = $this->name;
|
||||
$obj->type = 12;
|
||||
foreach ($this->edgesCollectionContainer as $col) {
|
||||
$obj->dependencys[] = $col->generateJson();
|
||||
|
||||
@ -15,6 +15,7 @@ class FieldsetTest extends TestCase
|
||||
{
|
||||
$this->json = json_decode('{
|
||||
"id": "1",
|
||||
"name": "Inhalt",
|
||||
"dependencys": [],
|
||||
"type": 12,
|
||||
"options": [
|
||||
@ -40,7 +41,7 @@ class FieldsetTest extends TestCase
|
||||
]
|
||||
}', 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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user