@@ -10,7 +10,8 @@ class MergeTest extends \PHPUnit_Framework_TestCase
10
10
/**
11
11
* Fixture XML instruction(s) to be used in tests
12
12
*/
13
- const FIXTURE_LAYOUT_XML = '<block class="Magento\Framework\View\Element\Template" template="Magento_Framework::fixture.phtml"/> ' ;
13
+ const FIXTURE_LAYOUT_XML
14
+ = '<block class="Magento\Framework\View\Element\Template" template="Magento_Framework::fixture.phtml"/> ' ;
14
15
15
16
/**
16
17
* @var \Magento\Framework\View\Model\Layout\Merge
@@ -32,7 +33,8 @@ protected function setUp()
32
33
$ layoutUpdate1 ->setHandle ('fixture_handle_one ' );
33
34
$ layoutUpdate1 ->setXml (
34
35
'<body>
35
- <block class="Magento\Framework\View\Element\Template" template="Magento_Framework::fixture_template_one.phtml"/>
36
+ <block class="Magento\Framework\View\Element\Template"
37
+ template="Magento_Framework::fixture_template_one.phtml"/>
36
38
</body> '
37
39
);
38
40
$ layoutUpdate1 ->setHasDataChanges (true );
@@ -49,7 +51,8 @@ protected function setUp()
49
51
$ layoutUpdate2 ->setHandle ('fixture_handle_two ' );
50
52
$ layoutUpdate2 ->setXml (
51
53
'<body>
52
- <block class="Magento\Framework\View\Element\Template" template="Magento_Framework::fixture_template_two.phtml"/>
54
+ <block class="Magento\Framework\View\Element\Template"
55
+ template="Magento_Framework::fixture_template_two.phtml"/>
53
56
</body> '
54
57
);
55
58
$ layoutUpdate2 ->setHasDataChanges (true );
@@ -74,10 +77,12 @@ public function testLoadDbApp()
74
77
$ expectedResult = '
75
78
<root>
76
79
<body>
77
- <block class="Magento\Framework\View\Element\Template" template="Magento_Framework::fixture_template_one.phtml"/>
80
+ <block class="Magento\Framework\View\Element\Template"
81
+ template="Magento_Framework::fixture_template_one.phtml"/>
78
82
</body>
79
83
<body>
80
- <block class="Magento\Framework\View\Element\Template" template="Magento_Framework::fixture_template_two.phtml"/>
84
+ <block class="Magento\Framework\View\Element\Template"
85
+ template="Magento_Framework::fixture_template_two.phtml"/>
81
86
</body>
82
87
</root>
83
88
' ;
0 commit comments