Skip to content

Commit ff5c042

Browse files
committed
MQE-844: Support for Extension Tests
- remove use of trim and use str_replace for removing backend char
1 parent a6d4f42 commit ff5c042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Magento/FunctionalTestingFramework/Util/ModuleResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ private function globRelevantPaths($testPath, $pattern)
270270
}
271271

272272
foreach ($relevantPaths as $codePath) {
273-
$mainModName = basename(trim($codePath, $pattern));
273+
$mainModName = basename(str_replace($pattern, '', $codePath));
274274
$modulePaths[$mainModName][] = $codePath;
275275
}
276276

0 commit comments

Comments
 (0)