Skip to content

Commit

Permalink
Merge pull request magento#779 from magento-engcom/msi-690
Browse files Browse the repository at this point in the history
MSI-690: Unskip and Fix Integration Test for Quantity Increment Messa…
  • Loading branch information
maghamed authored Mar 28, 2018
2 parents bd5bc6b + 0a005e8 commit e53d730
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,10 @@ public function execute(string $sku, int $stockId, float $requestedQty): Product
if ($this->isQuantityIncrementCheckFailed($stockItemConfiguration, $requestedQty)) {
return $this->createErrorResult(
'is_correct_qty-qty_increment',
__('The requested qty is not a valid increment')
__(
'You can buy this product only in quantities of %1 at a time.',
$stockItemConfiguration->getQtyIncrements()
)
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ public function testAddActionProductNameXss()
*/
public function testAllcartAction()
{
$this->markTestSkipped(
'Fix Integration Test for Quantity Increment Message https://github.com/magento-engcom/msi/issues/690'
);
$formKey = $this->_objectManager->get(\Magento\Framework\Data\Form\FormKey::class)->getFormKey();
$this->getRequest()->setParam('form_key', $formKey);
$this->dispatch('wishlist/index/allcart');
Expand Down

0 comments on commit e53d730

Please sign in to comment.