Skip to content

Commit 37b4855

Browse files
committed
magento/graphql-ce#540: Replace deprecated Magento/Checkout/_files/quote_with_address_saved.php fixture in SetUpsShippingMethodsOnCartTest
1 parent 212a533 commit 37b4855

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Ups/SetUpsShippingMethodsOnCartTest.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,17 @@ protected function setUp()
6262
}
6363

6464
/**
65-
* @magentoApiDataFixture Magento/Checkout/_files/quote_with_address_saved.php
65+
* @magentoApiDataFixture Magento/Customer/_files/customer.php
66+
* @magentoApiDataFixture Magento/Catalog/_files/product_simple.php
67+
* @magentoApiDataFixture Magento/GraphQl/Quote/_files/customer/create_empty_cart.php
68+
* @magentoApiDataFixture Magento/GraphQl/Quote/_files/add_simple_product.php
69+
* @magentoApiDataFixture Magento/GraphQl/Quote/_files/set_new_shipping_address.php
6670
* @magentoApiDataFixture Magento/Ups/_files/enable_ups_shipping_method.php
6771
*/
6872
public function testSetUpsShippingMethod()
6973
{
7074
$quote = $this->quoteFactory->create();
71-
$this->quoteResource->load($quote, 'test_order_1', 'reserved_order_id');
75+
$this->quoteResource->load($quote, 'test_quote', 'reserved_order_id');
7276
$maskedQuoteId = $this->quoteIdToMaskedId->execute((int)$quote->getId());
7377
$shippingAddressId = (int)$quote->getShippingAddress()->getId();
7478

0 commit comments

Comments
 (0)