Skip to content

Commit 1e65185

Browse files
MAGETWO-58066: [FT] Incorrect dataset data in PrintOrderFrontendGuestTestVariation1
1 parent 0bc9035 commit 1e65185

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

dev/tests/functional/tests/app/Magento/Sales/Test/TestCase/PrintOrderFrontendGuestTest.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
99
<testCase name="Magento\Sales\Test\TestCase\PrintOrderFrontendGuestTest" summary="Print Order from Guest on Frontend" ticketId="MAGETWO-30253">
1010
<variation name="PrintOrderFrontendGuestTestVariation1">
11-
<data name="tag" xsi:type="string">to_maintain:yes</data>
1211
<data name="customer" xsi:type="array">
1312
<item name="dataset" xsi:type="string">johndoe_with_addresses</item>
1413
</data>
@@ -18,9 +17,9 @@
1817
<data name="payment" xsi:type="array">
1918
<item name="method" xsi:type="string">checkmo</item>
2019
</data>
21-
<data name="products/0" xsi:type="string">bundleProduct::bundle_dynamic_product</data>
20+
<data name="products/0" xsi:type="string">downloadableProduct::default</data>
2221
<data name="products/1" xsi:type="string">configurableProduct::default</data>
23-
<data name="products/2" xsi:type="string">downloadableProduct::default</data>
22+
<data name="products/2" xsi:type="string">bundleProduct::bundle_dynamic_product</data>
2423
<data name="prices/subtotal" xsi:type="string">602.43</data>
2524
<data name="prices/shipping" xsi:type="string">25</data>
2625
<data name="prices/discount" xsi:type="string">-270</data>

dev/tests/functional/tests/app/Magento/Sales/Test/TestStep/SubmitOrderStep.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public function run()
107107
$orderId = trim($this->salesOrderView->getTitleBlock()->getTitle(), '#');
108108
$data = [
109109
'id' => $orderId,
110-
'customer_id' => ['customer' => $this->customer->getData()],
110+
'customer_id' => ['customer' => $this->customer],
111111
'entity_id' => ['products' => $this->products],
112112
'billing_address_id' => ['billingAddress' => $this->billingAddress],
113113
];

0 commit comments

Comments
 (0)