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 @@ -156,6 +156,11 @@ public function testMinify()
156156 <?php echo '//some.link.com/' ?>
157157 <em>inline text</em>
158158 <a href="http://www.<?php echo 'hi' ?>"></a>
159+ <?php// if ( \$block->getSomeVariable() > 1):?>
160+ <?php echo \$block->getChildHtml('someChildBlock'); ?>
161+ <?php //else:?>
162+ <?php // echo \$block->getChildHtml('anotherChildBlock'); ?>
163+ <?php // endif; ?>
159164 </body>
160165</html>
161166TEXT ;
@@ -179,7 +184,7 @@ public function testMinify()
179184 }
180185 });
181186 //]]>
182- </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>
187+ </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>
183188TEXT ;
184189
185190 $ this ->appDirectoryMock ->expects ($ this ->once ())
You can’t perform that action at this time.
0 commit comments