Skip to content

Commit 8e6c712

Browse files
MC-3030: Create/Update Integration Tests
- remove appearances and parents and children from tests
1 parent 95ff027 commit 8e6c712

14 files changed

+1
-866
lines changed

dev/tests/integration/testsuite/Magento/PageBuilder/_files/content_type/allowed_parent/children_allow.xml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,6 @@
99
<content_types>
1010
<type name="children_allow" translate="label" sortOrder="5" label="Type 5" icon="pagebuilder-type-icon" component="Path/to/component" form="pagebuilder_type_form" group="group">
1111
<children default_policy="allow"/>
12-
<appearances>
13-
<appearance name="default" default="true" preview_template="Path/to/preview/template" render_template="Path/to/render/template" reader="Path/to/reader">
14-
<data_mapping>
15-
<elements>
16-
<element name="main" path=".">
17-
<style_properties>
18-
<property name="style_converter" source="converter" converter="Path/to/converter"/>
19-
<property name="style_no_converter" source="no_converter"/>
20-
</style_properties>
21-
<attributes>
22-
<attribute name="name" source="data-role"/>
23-
</attributes>
24-
<css name="css_classes"/>
25-
</element>
26-
</elements>
27-
</data_mapping>
28-
</appearance>
29-
</appearances>
3012
</type>
3113
</content_types>
3214
</config>

dev/tests/integration/testsuite/Magento/PageBuilder/_files/content_type/allowed_parent/children_allow_with_child.xml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,6 @@
1313
<child name="children_deny" policy="allow"/>
1414
<child name="no_parents_and_children" policy="deny"/>
1515
</children>
16-
<appearances>
17-
<appearance name="default" default="true" preview_template="Path/to/preview/template" render_template="Path/to/render/template" reader="Path/to/reader">
18-
<data_mapping>
19-
<elements>
20-
<element name="main" path=".">
21-
<style_properties>
22-
<property name="style_converter" source="converter" converter="Path/to/converter"/>
23-
<property name="style_no_converter" source="no_converter"/>
24-
</style_properties>
25-
<attributes>
26-
<attribute name="name" source="data-role"/>
27-
</attributes>
28-
<css name="css_classes"/>
29-
</element>
30-
</elements>
31-
</data_mapping>
32-
</appearance>
33-
</appearances>
3416
</type>
3517
</content_types>
3618
</config>

dev/tests/integration/testsuite/Magento/PageBuilder/_files/content_type/allowed_parent/children_deny.xml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,6 @@
99
<content_types>
1010
<type name="children_deny" translate="label" sortOrder="6" label="Type 6" icon="pagebuilder-type-icon" component="Path/to/component" form="pagebuilder_type_form" group="group">
1111
<children default_policy="deny"/>
12-
<appearances>
13-
<appearance name="default" default="true" preview_template="Path/to/preview/template" render_template="Path/to/render/template" reader="Path/to/reader">
14-
<data_mapping>
15-
<elements>
16-
<element name="main" path=".">
17-
<style_properties>
18-
<property name="style_converter" source="converter" converter="Path/to/converter"/>
19-
<property name="style_no_converter" source="no_converter"/>
20-
</style_properties>
21-
<attributes>
22-
<attribute name="name" source="data-role"/>
23-
</attributes>
24-
<css name="css_classes"/>
25-
</element>
26-
</elements>
27-
</data_mapping>
28-
</appearance>
29-
</appearances>
3012
</type>
3113
</content_types>
3214
</config>

dev/tests/integration/testsuite/Magento/PageBuilder/_files/content_type/allowed_parent/children_deny_with_child.xml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,6 @@
1313
<child name="children_allow" policy="deny"/>
1414
<child name="no_parents_and_children" policy="allow"/>
1515
</children>
16-
<appearances>
17-
<appearance name="default" default="true" preview_template="Path/to/preview/template" render_template="Path/to/render/template" reader="Path/to/reader">
18-
<data_mapping>
19-
<elements>
20-
<element name="main" path=".">
21-
<style_properties>
22-
<property name="style_converter" source="converter" converter="Path/to/converter"/>
23-
<property name="style_no_converter" source="no_converter"/>
24-
</style_properties>
25-
<attributes>
26-
<attribute name="name" source="data-role"/>
27-
</attributes>
28-
<css name="css_classes"/>
29-
</element>
30-
</elements>
31-
</data_mapping>
32-
</appearance>
33-
</appearances>
3416
</type>
3517
</content_types>
3618
</config>

0 commit comments

Comments
 (0)