Skip to content

Commit 2b59efa

Browse files
committed
GraphQL-428: Test coverage: GetAvailableShippingMethodsTest
-- fix static tests
1 parent 300e5b4 commit 2b59efa

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

app/code/Magento/QuoteGraphQl/Model/Cart/SetShippingMethodsOnCart.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@
77

88
namespace Magento\QuoteGraphQl\Model\Cart;
99

10-
use Magento\Framework\Exception\InputException;
11-
use Magento\Framework\Exception\NoSuchEntityException;
12-
use Magento\Framework\Exception\StateException;
1310
use Magento\Framework\GraphQl\Exception\GraphQlInputException;
14-
use Magento\Framework\GraphQl\Exception\GraphQlNoSuchEntityException;
1511
use Magento\Framework\GraphQl\Query\Resolver\ContextInterface;
1612
use Magento\Quote\Api\Data\CartInterface;
1713

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
use Magento\TestFramework\Helper\Bootstrap;
1313
use Magento\TestFramework\TestCase\GraphQlAbstract;
1414

15+
/**
16+
* Test for get selected shipping method
17+
*/
1518
class GetSelectedShippingMethodTest extends GraphQlAbstract
1619
{
1720
/**

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
use Magento\TestFramework\Helper\Bootstrap;
1212
use Magento\TestFramework\TestCase\GraphQlAbstract;
1313

14+
/**
15+
* Test for get selected shipping method
16+
*/
1417
class GetSelectedShippingMethodTest extends GraphQlAbstract
1518
{
1619
/**

0 commit comments

Comments
 (0)