Skip to content

Commit 7666159

Browse files
committed
MAGETWO-58386: Eliminate dependencies on modules from lib/Magento.
1 parent 886c0ae commit 7666159

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dev/tests/static/testsuite/Magento/Test/Integrity/Library/DependencyTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,7 @@ public function libraryDataProvider()
166166
$dataProvider = Files::init()->getPhpFiles(Files::INCLUDE_LIBS | Files::AS_DATA_SET);
167167

168168
foreach ($dataProvider as $key => $data) {
169-
$file = str_replace(BP . '/', '', $data[0]);
170-
if (in_array($file, $blackList)) {
169+
if (in_array($data[0], $blackList)) {
171170
unset($dataProvider[$key]);
172171
} else {
173172
include_once $data[0];

0 commit comments

Comments
 (0)