Skip to content

Commit 6e027fb

Browse files
author
Ankur Kaneria
committed
MAGETWO-42263: Register non-composer components
- minor updates to fix static tests build errors
1 parent 881d088 commit 6e027fb

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

dev/tests/api-functional/_files/Magento/TestModuleJoinDirectives/registration.php

-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@
77
use Magento\Framework\Component\ComponentRegistrar;
88

99
ComponentRegistrar::register(ComponentRegistrar::MODULE, 'Magento_TestModuleJoinDirectives', __DIR__);
10-

dev/tests/api-functional/framework/autoload.php

-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@
1616

1717
// registration of classes under '../_files'
1818
$autoloadWrapper->addPsr4('Magento\\', "{$testsBaseDir}/_files/");
19-

dev/tests/api-functional/framework/bootstrap.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
// Register the modules under '_files/'
2323
$pathPattern = dirname(__DIR__) . '/_files/*/*/registration.php';
2424
$files = glob($pathPattern, GLOB_NOSORT);
25-
if ( $files === false ) {
25+
if ($files === false) {
2626
throw new \RuntimeException('glob() returned error while searching in \'' . $pathPattern . '\'');
2727
}
2828
foreach ($files as $file) {

0 commit comments

Comments
 (0)