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 6
6
7
7
namespace Magento \Framework \App \Utility ;
8
8
9
- use Magento \Framework \App \Utility \Files ;
10
9
use Magento \Framework \Component \ComponentRegistrar ;
11
10
12
11
class FilesTest extends \PHPUnit \Framework \TestCase
@@ -169,6 +168,14 @@ public function testReadLists()
169
168
*/
170
169
public function testAllowUnderscoreInExtendedFiles ()
171
170
{
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
+ );
173
180
}
174
181
}
You can’t perform that action at this time.
0 commit comments