Skip to content

Commit 10b9ad2

Browse files
committed
ACP2E-2689: No Appropriate error message when website id is wrong in the request
- Fixed the static test failure.
1 parent ccbd1b6 commit 10b9ad2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Catalog/Model/Product/Price/Validation/TierPriceValidator.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,8 @@ private function checkWebsite(TierPriceInterface $price, $key, Result $validatio
374374
try {
375375
$this->websiteRepository->getById($price->getWebsiteId());
376376
$isWebsiteScope = $this->scopeConfig
377-
->isSetFlag(Data::XML_PATH_PRICE_SCOPE,
377+
->isSetFlag(
378+
Data::XML_PATH_PRICE_SCOPE,
378379
ScopeInterface::SCOPE_STORE,
379380
ScopeConfigInterface::SCOPE_TYPE_DEFAULT
380381
);

0 commit comments

Comments
 (0)