Skip to content

Commit d5d53d1

Browse files
32370 Fixed fixture issue
1 parent d2331f4 commit d5d53d1

File tree

1 file changed

+50
-44
lines changed

1 file changed

+50
-44
lines changed

dev/tests/integration/testsuite/Magento/GraphQl/Sales/_files/customer_orders.php

Lines changed: 50 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -26,39 +26,45 @@
2626
$addressData = include __DIR__ . '/address_data.php';
2727
$orders = [
2828
[
29-
'increment_id' => '100000002',
30-
'state' => \Magento\Sales\Model\Order::STATE_NEW,
31-
'status' => 'processing',
29+
'increment_id' => '100000008',
30+
'state' => \Magento\Sales\Model\Order::STATE_PROCESSING,
31+
'status' => 'Processing',
3232
'order_currency_code' =>'USD',
3333
'base_currency_code' =>'USD',
34-
'grand_total' => 120.00,
35-
'subtotal' => 120.00,
36-
'base_grand_total' => 120.00,
34+
'grand_total' => 190.00,
35+
'base_grand_total' => 190.00,
36+
'subtotal' => 180.00,
37+
'tax_amount' => 5.00,
38+
'shipping_amount'=> 5.00,
39+
'base_shipping_amount'=> 4.00,
3740
'store_id' => 1,
3841
'website_id' => 1,
3942
],
4043
[
41-
'increment_id' => '100000003',
44+
'increment_id' => '100000007',
4245
'state' => \Magento\Sales\Model\Order::STATE_PROCESSING,
43-
'status' => 'processing',
46+
'status' => 'Processing',
4447
'order_currency_code' =>'USD',
4548
'base_currency_code' =>'USD',
46-
'grand_total' => 130.00,
47-
'base_grand_total' => 130.00,
48-
'subtotal' => 130.00,
49-
'total_paid' => 130.00,
50-
'store_id' => 0,
51-
'website_id' => 0,
49+
'grand_total' => 180.00,
50+
'base_grand_total' => 180.00,
51+
'subtotal' => 170.00,
52+
'tax_amount' => 5.00,
53+
'shipping_amount'=> 5.00,
54+
'base_shipping_amount'=> 4.00,
55+
'store_id' => 1,
56+
'website_id' => 1,
5257
],
5358
[
54-
'increment_id' => '100000004',
59+
'increment_id' => '100000006',
5560
'state' => \Magento\Sales\Model\Order::STATE_PROCESSING,
56-
'status' => 'closed',
61+
'status' => 'Processing',
5762
'order_currency_code' =>'USD',
5863
'base_currency_code' =>'USD',
59-
'grand_total' => 140.00,
60-
'base_grand_total' => 140.00,
61-
'subtotal' => 140.00,
64+
'grand_total' => 160.00,
65+
'base_grand_total' => 160.00,
66+
'subtotal' => 160.00,
67+
'total_paid' => 160.00,
6268
'store_id' => 1,
6369
'website_id' => 1,
6470
],
@@ -76,48 +82,48 @@
7682
'website_id' => 1,
7783
],
7884
[
79-
'increment_id' => '100000006',
85+
'increment_id' => '100000004',
8086
'state' => \Magento\Sales\Model\Order::STATE_PROCESSING,
81-
'status' => 'Processing',
87+
'status' => 'closed',
8288
'order_currency_code' =>'USD',
8389
'base_currency_code' =>'USD',
84-
'grand_total' => 160.00,
85-
'base_grand_total' => 160.00,
86-
'subtotal' => 160.00,
87-
'total_paid' => 160.00,
90+
'grand_total' => 140.00,
91+
'base_grand_total' => 140.00,
92+
'subtotal' => 140.00,
8893
'store_id' => 1,
8994
'website_id' => 1,
9095
],
9196
[
92-
'increment_id' => '100000007',
97+
'increment_id' => '100000003',
9398
'state' => \Magento\Sales\Model\Order::STATE_PROCESSING,
94-
'status' => 'Processing',
99+
'status' => 'processing',
95100
'order_currency_code' =>'USD',
96101
'base_currency_code' =>'USD',
97-
'grand_total' => 180.00,
98-
'base_grand_total' => 180.00,
99-
'subtotal' => 170.00,
100-
'tax_amount' => 5.00,
101-
'shipping_amount'=> 5.00,
102-
'base_shipping_amount'=> 4.00,
103-
'store_id' => 1,
104-
'website_id' => 1,
102+
'grand_total' => 130.00,
103+
'base_grand_total' => 130.00,
104+
'subtotal' => 130.00,
105+
'total_paid' => 130.00,
106+
'store_id' => 0,
107+
'website_id' => 0,
105108
],
106109
[
107-
'increment_id' => '100000008',
108-
'state' => \Magento\Sales\Model\Order::STATE_PROCESSING,
109-
'status' => 'Processing',
110+
'increment_id' => '100000002',
111+
'state' => \Magento\Sales\Model\Order::STATE_NEW,
112+
'status' => 'processing',
110113
'order_currency_code' =>'USD',
111114
'base_currency_code' =>'USD',
112-
'grand_total' => 190.00,
113-
'base_grand_total' => 190.00,
114-
'subtotal' => 180.00,
115-
'tax_amount' => 5.00,
116-
'shipping_amount'=> 5.00,
117-
'base_shipping_amount'=> 4.00,
115+
'grand_total' => 120.00,
116+
'subtotal' => 120.00,
117+
'base_grand_total' => 120.00,
118118
'store_id' => 1,
119119
'website_id' => 1,
120120
]
121+
122+
123+
124+
125+
126+
121127
];
122128

123129
/** @var OrderRepositoryInterface $orderRepository */

0 commit comments

Comments
 (0)