File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dev/tests/static/testsuite/Magento/Test/Legacy Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,10 @@ public function testNew(): void
2626 $ files = AddedFiles::getAddedFilesList (__DIR__ . '/.. ' );
2727 $ legacyFixtureFiles = [];
2828 //pattern to ignore skip and filter files
29- $ skip_pattern = '/app\/code\/.*\/Tests?\/GraphQl\/_files\/ (.*[ filter|skip] -list(_ee|_b2b|).php)/ ' ;
29+ $ skip_pattern = '/(.*( filter|skip) -list(_ee|_b2b|).php)/ ' ;
3030 foreach ($ files as $ file ) {
3131 if (pathinfo ($ file , PATHINFO_EXTENSION ) === 'php '
32+ && !preg_match ($ skip_pattern , $ file )
3233 && (
3334 preg_match ('/(integration\/testsuite|api-functional\/testsuite).*\/(_files|Fixtures)/ ' , $ file )
3435 // Cover the case when tests are located in the module folder instead of dev/tests.
@@ -37,7 +38,6 @@ public function testNew(): void
3738 strpos ($ file , 'dev/tests/ ' ) === false
3839 && preg_match ('/app\/code\/.*\/Test.*\/(_files|Fixtures)/ ' , $ file )
3940 && !preg_match ('/app\/code\/.*\/Tests?\/Performance\/(_files|Fixtures)/ ' , $ file )
40- && !preg_match ($ skip_pattern , $ file )
4141 )
4242 )
4343 ) {
You can’t perform that action at this time.
0 commit comments