Skip to content

Commit ceb8597

Browse files
committed
Static test fixed
1 parent a192377 commit ceb8597

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/code/Magento/CatalogInventory/Test/Unit/Block/Plugin/ProductViewTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ protected function setUp(): void
5353
$this->stockRegistry = $this->getMockBuilder(StockRegistryInterface::class)
5454
->getMock();
5555

56-
5756
$this->productQuantityValidator = $objectManager->getObject(
5857
QuantityValidator::class,
5958
[

app/code/Magento/GroupedProduct/view/frontend/templates/product/view/type/grouped.phtml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@
5555
value="<?= $escaper->escapeHtmlAttr($_item->getQty() * 1) ?>"
5656
title="<?= $escaper->escapeHtmlAttr(__('Qty')) ?>"
5757
class="input-text qty"
58-
data-validate="<?= $escaper->escapeHtmlAttr($viewModel->getQuantityValidators($_item->getId(), $_item->getWebsiteId())) ?>"
58+
data-validate="<?= $escaper->escapeHtmlAttr($viewModel->getQuantityValidators(
59+
$_item->getId(),
60+
$_item->getWebsiteId()
61+
)) ?>"
5962
data-no-validation-for-zero-qty="true"
6063
data-errors-message-box="#validation-message-box"/>
6164
</div>

0 commit comments

Comments
 (0)