Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@ public function get($filename, $scope)
. DIRECTORY_SEPARATOR . '*.xml'
);

// include root suite dir when running standalone version
$altPath = MAGENTO_BP . DIRECTORY_SEPARATOR . 'dev/tests/acceptance';

if (realpath($altPath) && ($altPath !== TESTS_BP)) {
$paths = array_merge(
$paths,
glob(
FilePathFormatter::format($altPath) . self::ROOT_SUITE_DIR
. DIRECTORY_SEPARATOR . '*.xml'
)
);
}

// Then merge this path into the module based paths
// Since we are sharing this code with Module based resolution we will unnecessarily glob against modules in the
// dev/tests dir tree, however as we plan to migrate to app/code this will be a temporary unneeded check.
Expand Down