File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
lib/internal/Magento/Framework/View/Test/Unit/Template/Html Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -155,6 +155,11 @@ public function testMinify()
155
155
<?php echo '//some.link.com/' ?>
156
156
<em>inline text</em>
157
157
<a href="http://www.<?php echo 'hi' ?>"></a>
158
+ <?php// if ( \$block->getSomeVariable() > 1):?>
159
+ <?php echo \$block->getChildHtml('someChildBlock'); ?>
160
+ <?php //else:?>
161
+ <?php // echo \$block->getChildHtml('anotherChildBlock'); ?>
162
+ <?php // endif; ?>
158
163
</body>
159
164
</html>
160
165
TEXT ;
@@ -178,7 +183,7 @@ public function testMinify()
178
183
}
179
184
});
180
185
//]]>
181
- </script><?php echo "http://some.link.com/" ?> <?php echo "//some.link.com/" ?> <?php echo '//some.link.com/' ?> <em>inline text</em> <a href="http://www.<?php echo 'hi' ?>"></a></body></html>
186
+ </script><?php echo "http://some.link.com/" ?> <?php echo "//some.link.com/" ?> <?php echo '//some.link.com/' ?> <em>inline text</em> <a href="http://www.<?php echo 'hi' ?>"></a> <?php ?> <?php echo \$ block->getChildHtml('someChildBlock'); ?> <?php ?> <?php ?> <?php ?> </body></html>
182
187
TEXT ;
183
188
184
189
$ this ->appDirectoryMock ->expects ($ this ->once ())
You can’t perform that action at this time.
0 commit comments