@@ -52,7 +52,11 @@ protected function setUp()
52
52
}
53
53
54
54
/**
55
- * @magentoApiDataFixture Magento/Checkout/_files/quote_with_address_saved.php
55
+ * @magentoApiDataFixture Magento/Customer/_files/customer.php
56
+ * @magentoApiDataFixture Magento/Catalog/_files/product_simple.php
57
+ * @magentoApiDataFixture Magento/GraphQl/Quote/_files/customer/create_empty_cart.php
58
+ * @magentoApiDataFixture Magento/GraphQl/Quote/_files/add_simple_product.php
59
+ * @magentoApiDataFixture Magento/GraphQl/Quote/_files/set_new_shipping_address.php
56
60
* @magentoApiDataFixture Magento/GraphQl/Quote/_files/enable_offline_shipping_methods.php
57
61
* @magentoApiDataFixture Magento/OfflineShipping/_files/tablerates_weight.php
58
62
*
@@ -67,7 +71,7 @@ public function testSetOfflineShippingMethod(string $carrierCode, string $method
67
71
$ quote = $ this ->quoteFactory ->create ();
68
72
$ this ->quoteResource ->load (
69
73
$ quote ,
70
- 'test_order_1 ' ,
74
+ 'test_quote ' ,
71
75
'reserved_order_id '
72
76
);
73
77
$ maskedQuoteId = $ this ->quoteIdToMaskedId ->execute ((int )$ quote ->getId ());
@@ -102,15 +106,19 @@ public function offlineShippingMethodDataProvider()
102
106
}
103
107
104
108
/**
105
- * @magentoApiDataFixture Magento/Checkout/_files/quote_with_address_saved.php
109
+ * @magentoApiDataFixture Magento/Customer/_files/customer.php
110
+ * @magentoApiDataFixture Magento/Catalog/_files/product_simple.php
111
+ * @magentoApiDataFixture Magento/GraphQl/Quote/_files/customer/create_empty_cart.php
112
+ * @magentoApiDataFixture Magento/GraphQl/Quote/_files/add_simple_product.php
113
+ * @magentoApiDataFixture Magento/GraphQl/Quote/_files/set_new_shipping_address.php
106
114
* @magentoApiDataFixture Magento/GraphQl/Quote/_files/enable_offline_shipping_methods.php
107
115
*/
108
116
public function testSetShippingMethodTwiceInOneRequest ()
109
117
{
110
118
$ quote = $ this ->quoteFactory ->create ();
111
119
$ this ->quoteResource ->load (
112
120
$ quote ,
113
- 'test_order_1 ' ,
121
+ 'test_quote ' ,
114
122
'reserved_order_id '
115
123
);
116
124
$ shippingAddress = $ quote ->getShippingAddress ();
0 commit comments