File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
lib/internal/Magento/Framework/View/Test/Unit/Template/Html Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,8 @@ public function testMinify()
124
124
<head>
125
125
<title>Test title</title>
126
126
</head>
127
+ <link rel="stylesheet" href='https://www.example.com/2' type="text/css" />
128
+ <link rel="stylesheet" type="text/css" media="all" href="https://www.example.com/1" type="text/css" />
127
129
<body>
128
130
<a href="http://somelink.com/text.html">Text Link</a>
129
131
<img src="test.png" alt="some text" />
@@ -158,7 +160,7 @@ public function testMinify()
158
160
TEXT ;
159
161
160
162
$ expectedContent = <<<TEXT
161
- <?php /** * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for license details. */ ?> <?php ?> <html><head><title>Test title</title></head><body><a href="http://somelink.com/text.html">Text Link</a> <img src="test.png" alt="some text" /><?php echo \$block->someMethod(); ?> <div style="width: 800px" class="<?php echo \$block->getClass() ?>" /><script>
163
+ <?php /** * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for license details. */ ?> <?php ?> <html><head><title>Test title</title></head><link rel="stylesheet" href='https://www.example.com/2' type="text/css" /><link rel="stylesheet" type="text/css" media="all" href="https://www.example.com/1" type="text/css" />< body><a href="http://somelink.com/text.html">Text Link</a> <img src="test.png" alt="some text" /><?php echo \$block->someMethod(); ?> <div style="width: 800px" class="<?php echo \$block->getClass() ?>" /><script>
162
164
var i = 1;
163
165
var j = 1;
164
166
You can’t perform that action at this time.
0 commit comments