Skip to content

Commit acdb0ae

Browse files
committed
Test coverage of Adding configurable product to shopping cart #381
1 parent 79b324f commit acdb0ae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/AddConfigurableProductToCartTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ protected function setUp()
4343

4444
/**
4545
* @magentoApiDataFixture Magento/Catalog/_files/multiple_mixed_products.php
46+
* @magentoApiDataFixture Magento/Checkout/_files/active_quote.php
4647
*/
4748
public function testAddConfigurableProductToCart()
4849
{
@@ -62,6 +63,7 @@ public function testAddConfigurableProductToCart()
6263

6364
/**
6465
* @magentoApiDataFixture Magento/Catalog/_files/multiple_mixed_products.php
66+
* @magentoApiDataFixture Magento/Checkout/_files/active_quote.php
6567
* @expectedException \Exception
6668
* @expectedExceptionMessage The requested qty is not available
6769
*/
@@ -78,6 +80,7 @@ public function testAddProductIfQuantityIsNotAvailable()
7880

7981
/**
8082
* @magentoApiDataFixture Magento/Framework/Search/_files/product_configurable.php
83+
* @magentoApiDataFixture Magento/Checkout/_files/active_quote.php
8184
* @expectedException \Exception
8285
* @expectedExceptionMessage Product that you are trying to add is not available.
8386
*/

0 commit comments

Comments
 (0)