File tree 2 files changed +9
-3
lines changed
app/code/Magento/Sales/Test/Mftf 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 8
8
9
9
<operations xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:DataGenerator/etc/dataOperation.xsd" >
11
- <operation name =" CreateInvoice" dataType =" Invoice" type =" create" auth =" adminOauth" url =" V1/order/29/invoices " method =" POST" >
11
+ <operation name =" CreateInvoice" dataType =" Invoice" type =" create" auth =" adminOauth" url =" V1/order/{return}/invoice " method =" POST" >
12
12
<contentType >application/json</contentType >
13
+ <object key =" cartItem" dataType =" CartItem" >
14
+ <field key =" quote_id" >string</field >
15
+ <field key =" sku" type =" string" >string</field >
16
+ <field key =" qty" >integer</field >
17
+ </object >
13
18
</operation >
14
19
</operations >
Original file line number Diff line number Diff line change 37
37
<requiredEntity createDataKey =" createGuestCart" />
38
38
</updateData >
39
39
40
- <createData entity =" Invoice" stepKey =" invoiceOrder" />
41
-
40
+ <createData entity =" Invoice" stepKey =" invoiceOrder" >
41
+ <requiredEntity createDataKey =" createGuestCart" />
42
+ </createData >
42
43
43
44
</before >
44
45
<after >
You can’t perform that action at this time.
0 commit comments