Skip to content

Commit a89e84a

Browse files
committed
Import Bootstrap class to use in setUp method
1 parent f902d82 commit a89e84a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/tests/integration/testsuite/Magento/Checkout/Model/ShippingInformationManagementTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
namespace Magento\Checkout\Model;
88

9+
use Magento\TestFramework\Helper\Bootstrap;
910
use Magento\Checkout\Api\Data\ShippingInformationInterface;
1011
use Magento\Checkout\Api\PaymentInformationManagementInterface;
1112
use Magento\Checkout\Api\ShippingInformationManagementInterface;
@@ -55,7 +56,7 @@ class ShippingInformationManagementTest extends \PHPUnit\Framework\TestCase
5556

5657
public function setUp()
5758
{
58-
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
59+
$objectManager = Bootstrap::getObjectManager();
5960

6061
$this->cartManagement = $objectManager->create(CartManagementInterface::class);
6162
$this->cartItemRepository = $objectManager->create(CartItemRepositoryInterface::class);

0 commit comments

Comments
 (0)