Skip to content

Commit 0fa3ed7

Browse files
author
vnayda
committed
MAGETWO-57056: [Backport] [GitHub] Configurable product disabling lowest price associated product still shows its price #4419 - for 2.0
- fix builds
1 parent da533ee commit 0fa3ed7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Catalog/Test/Unit/Model/ResourceModel/Product/StatusBaseSelectProcessorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function testProcess()
6565
->method('join')
6666
->with(
6767
['status_attr' => $backendTable],
68-
'status_attr.entity_id = ' . BaseSelectProcessorInterface::PRODUCT_RELATION_ALIAS . '.entity_id',
68+
'status_attr.entity_id = ' . BaseSelectProcessorInterface::PRODUCT_RELATION_ALIAS . '.child_id',
6969
[]
7070
)
7171
->willReturnSelf();

app/code/Magento/CatalogInventory/Test/Unit/Model/ResourceModel/Product/StockStatusBaseSelectProcessorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function testProcess()
5555
->method('join')
5656
->with(
5757
['stock' => $tableName],
58-
sprintf('stock.product_id = %s.entity_id', BaseSelectProcessorInterface::PRODUCT_RELATION_ALIAS),
58+
'stock.product_id = ' . BaseSelectProcessorInterface::PRODUCT_RELATION_ALIAS . '.child_id',
5959
[]
6060
)
6161
->willReturnSelf();

0 commit comments

Comments
 (0)