Skip to content

Commit 3f9a6f7

Browse files
author
Yurii Torbyk
committed
MAGETWO-34174: CI builds stabilization
1 parent e6e0d00 commit 3f9a6f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Sales/Model/AdminOrder/Create.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1915,7 +1915,7 @@ protected function _validate()
19151915
foreach ($this->_errors as $error) {
19161916
$this->messageManager->addError($error);
19171917
}
1918-
throw new \Magento\Framework\Exception\LocalizedException(__(''));
1918+
throw new \Magento\Framework\Exception\LocalizedException(__('Validation is failed.'));
19191919
}
19201920

19211921
return $this;

app/code/Magento/Wishlist/Model/Item.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ public function addToCart(\Magento\Checkout\Model\Cart $cart, $delete = false)
431431
}
432432

433433
if (!$product->isSalable()) {
434-
throw new ProductException(__(''));
434+
throw new ProductException(__('Product is not salable.'));
435435
}
436436

437437
$buyRequest = $this->getBuyRequest();

0 commit comments

Comments
 (0)