Skip to content

Commit fc77455

Browse files
committed
Merge branch 'MAGETWO-58386' into bugfixes
2 parents 444d53b + 903d284 commit fc77455

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,11 @@ public function libraryDataProvider()
162162
$componentRegistrar = new ComponentRegistrar();
163163
include_once $componentRegistrar->getPath(ComponentRegistrar::LIBRARY, 'magento/framework')
164164
. '/Option/ArrayInterface.php';
165-
$blackList = Files::init()->readLists(__DIR__ . '/_files/blacklist.txt');
165+
$blackList = Files::init()->readLists(__DIR__ . '/_files/blacklist*.txt');
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];

lib/internal/Magento/Framework/Pricing/Test/Unit/RenderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ protected function setUp()
4646
{
4747
$this->priceLayout = $this->getMockBuilder(\Magento\Framework\Pricing\Render\Layout::class)
4848
->disableOriginalConstructor()
49-
->getMockForAbstractClass();
49+
->getMock();
5050

5151
$this->price = $this->getMockBuilder(\Magento\Framework\Pricing\Price\PriceInterface::class)
5252
->disableOriginalConstructor()

0 commit comments

Comments
 (0)