File tree Expand file tree Collapse file tree 2 files changed +22
-40
lines changed
api-functional/testsuite/Magento/GraphQl/Sales
integration/testsuite/Magento/Sales/_files Expand file tree Collapse file tree 2 files changed +22
-40
lines changed Original file line number Diff line number Diff line change @@ -65,9 +65,6 @@ public function testSingleInvoiceForLoggedInCustomerQuery()
65
65
total_amount {
66
66
value
67
67
}
68
- amount_exc_tax {
69
- value
70
- }
71
68
}
72
69
}
73
70
}
@@ -122,9 +119,6 @@ public function testSingleInvoiceForLoggedInCustomerQuery()
122
119
'shipping_handling ' => [
123
120
'total_amount ' => [
124
121
'value ' => null
125
- ],
126
- 'amount_exc_tax ' => [
127
- 'value ' => null
128
122
]
129
123
]
130
124
]
@@ -192,9 +186,6 @@ public function testMultipleInvoiceForLoggedInCustomerQuery()
192
186
total_amount {
193
187
value
194
188
}
195
- amount_exc_tax {
196
- value
197
- }
198
189
}
199
190
}
200
191
}
@@ -241,9 +232,6 @@ public function testMultipleInvoiceForLoggedInCustomerQuery()
241
232
'shipping_handling ' => [
242
233
'total_amount ' => [
243
234
'value ' => null
244
- ],
245
- 'amount_exc_tax ' => [
246
- 'value ' => null
247
235
]
248
236
]
249
237
]
@@ -272,9 +260,6 @@ public function testMultipleInvoiceForLoggedInCustomerQuery()
272
260
'shipping_handling ' => [
273
261
'total_amount ' => [
274
262
'value ' => null
275
- ],
276
- 'amount_exc_tax ' => [
277
- 'value ' => null
278
263
]
279
264
]
280
265
]
@@ -327,30 +312,27 @@ public function testMultipleCustomersWithInvoicesQuery()
327
312
value
328
313
}
329
314
quantity_invoiced
330
- }
331
- total {
332
- subtotal {
333
- value
334
- }
335
- grand_total {
336
- value
337
- }
338
- total_shipping {
339
- value
340
- }
341
- shipping_handling {
342
- total_amount {
343
- value
344
- }
345
- amount_exc_tax {
346
- value
347
- }
348
- }
315
+ }
316
+ total {
317
+ subtotal {
318
+ value
319
+ }
320
+ grand_total {
321
+ value
322
+ }
323
+ total_shipping {
324
+ value
325
+ }
326
+ shipping_handling {
327
+ total_amount {
328
+ value
349
329
}
350
330
}
331
+ }
351
332
}
352
- }
353
- }
333
+ }
334
+ }
335
+ }
354
336
}
355
337
QUERY ;
356
338
@@ -391,9 +373,6 @@ public function testMultipleCustomersWithInvoicesQuery()
391
373
'shipping_handling ' => [
392
374
'total_amount ' => [
393
375
'value ' => null
394
- ],
395
- 'amount_exc_tax ' => [
396
- 'value ' => null
397
376
]
398
377
]
399
378
]
Original file line number Diff line number Diff line change 22
22
$ payment = $ objectManager ->create (\Magento \Sales \Model \Order \Payment::class);
23
23
$ payment ->setMethod ('checkmo ' );
24
24
25
+ $ payment2 = $ objectManager ->create (\Magento \Sales \Model \Order \Payment::class);
26
+ $ payment2 ->setMethod ('checkmo ' );
27
+
25
28
/** @var $product \Magento\Catalog\Model\Product */
26
29
$ product = $ objectManager ->create (\Magento \Catalog \Model \Product::class);
27
30
$ repository = $ objectManager ->create (\Magento \Catalog \Model \ProductRepository::class);
118
121
$ order2 ->setBillingAddress ($ billingAddress );
119
122
$ order2 ->setShippingAddress ($ shippingAddress );
120
123
$ order2 ->setAddresses ([$ billingAddress , $ shippingAddress ]);
121
- $ order2 ->setPayment ($ payment );
124
+ $ order2 ->setPayment ($ payment2 );
122
125
$ order2 ->addItem ($ orderItem2 );
123
126
$ order2 ->setStoreId ($ objectManager ->get (\Magento \Store \Model \StoreManagerInterface::class)->getStore ()->getId ());
124
127
$ order2 ->setSubtotal (100 );
You can’t perform that action at this time.
0 commit comments