File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
dev/tests/integration/testsuite/Magento/Framework/App/Utility Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 66
77namespace Magento \Framework \App \Utility ;
88
9- use Magento \Framework \App \Utility \Files ;
109use Magento \Framework \Component \ComponentRegistrar ;
1110
1211class FilesTest extends \PHPUnit \Framework \TestCase
@@ -169,6 +168,14 @@ public function testReadLists()
169168 */
170169 public function testAllowUnderscoreInExtendedFiles ()
171170 {
172- $ this ->model ->getStaticPreProcessingFiles ('*.less ' );
171+ $ this ->assertNotEmpty (
172+ array_filter (
173+ $ this ->model ->getStaticPreProcessingFiles ('*.less ' ),
174+ function ($ resource ) {
175+ return $ resource [3 ] === 'Module_Third_Party '
176+ && $ resource [4 ] === 'css/source/_module.less ' ;
177+ }
178+ )
179+ );
173180 }
174181}
You can’t perform that action at this time.
0 commit comments