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
26
26
$ files = AddedFiles::getAddedFilesList (__DIR__ . '/.. ' );
27
27
$ legacyFixtureFiles = [];
28
28
//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)/ ' ;
30
30
foreach ($ files as $ file ) {
31
31
if (pathinfo ($ file , PATHINFO_EXTENSION ) === 'php '
32
+ && !preg_match ($ skip_pattern , $ file )
32
33
&& (
33
34
preg_match ('/(integration\/testsuite|api-functional\/testsuite).*\/(_files|Fixtures)/ ' , $ file )
34
35
// Cover the case when tests are located in the module folder instead of dev/tests.
@@ -37,7 +38,6 @@ public function testNew(): void
37
38
strpos ($ file , 'dev/tests/ ' ) === false
38
39
&& preg_match ('/app\/code\/.*\/Test.*\/(_files|Fixtures)/ ' , $ file )
39
40
&& !preg_match ('/app\/code\/.*\/Tests?\/Performance\/(_files|Fixtures)/ ' , $ file )
40
- && !preg_match ($ skip_pattern , $ file )
41
41
)
42
42
)
43
43
) {
You can’t perform that action at this time.
0 commit comments