Skip to content

Commit

Permalink
Test coverage of Adding configurable product to shopping cart #381
Browse files Browse the repository at this point in the history
  • Loading branch information
XxXgeoXxX committed Feb 26, 2019
1 parent 79b324f commit acdb0ae
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ protected function setUp()

/**
* @magentoApiDataFixture Magento/Catalog/_files/multiple_mixed_products.php
* @magentoApiDataFixture Magento/Checkout/_files/active_quote.php
*/
public function testAddConfigurableProductToCart()
{
Expand All @@ -62,6 +63,7 @@ public function testAddConfigurableProductToCart()

/**
* @magentoApiDataFixture Magento/Catalog/_files/multiple_mixed_products.php
* @magentoApiDataFixture Magento/Checkout/_files/active_quote.php
* @expectedException \Exception
* @expectedExceptionMessage The requested qty is not available
*/
Expand All @@ -78,6 +80,7 @@ public function testAddProductIfQuantityIsNotAvailable()

/**
* @magentoApiDataFixture Magento/Framework/Search/_files/product_configurable.php
* @magentoApiDataFixture Magento/Checkout/_files/active_quote.php
* @expectedException \Exception
* @expectedExceptionMessage Product that you are trying to add is not available.
*/
Expand Down

0 comments on commit acdb0ae

Please sign in to comment.