@@ -68,7 +68,11 @@ public function testMergeGuestWithCustomerCart()
68
68
$ this ->quoteResource ->load ($ firstQuote , 'test_quote ' , 'reserved_order_id ' );
69
69
70
70
$ secondQuote = $ this ->quoteFactory ->create ();
71
- $ this ->quoteResource ->load ($ secondQuote , 'test_order_with_virtual_product_without_address ' , 'reserved_order_id ' );
71
+ $ this ->quoteResource ->load (
72
+ $ secondQuote ,
73
+ 'test_order_with_virtual_product_without_address ' ,
74
+ 'reserved_order_id '
75
+ );
72
76
73
77
$ firstMaskedId = $ this ->quoteIdToMaskedId ->execute ((int )$ firstQuote ->getId ());
74
78
$ secondMaskedId = $ this ->quoteIdToMaskedId ->execute ((int )$ secondQuote ->getId ());
@@ -101,7 +105,12 @@ public function testMergeTwoCustomerCarts()
101
105
$ this ->quoteResource ->load ($ firstQuote , 'test_quote ' , 'reserved_order_id ' );
102
106
$ firstMaskedId = $ this ->quoteIdToMaskedId ->execute ((int )$ firstQuote ->getId ());
103
107
104
- $ createCartResponse = $ this ->graphQlMutation ($ this ->getCreateEmptyCartMutation (), [], '' , $ this ->getHeaderMap ());
108
+ $ createCartResponse = $ this ->graphQlMutation (
109
+ $ this ->getCreateEmptyCartMutation (),
110
+ [],
111
+ '' ,
112
+ $ this ->getHeaderMap ()
113
+ );
105
114
self ::assertArrayHasKey ('createEmptyCart ' , $ createCartResponse );
106
115
$ secondMaskedId = $ createCartResponse ['createEmptyCart ' ];
107
116
$ this ->addSimpleProductToCart ($ secondMaskedId , $ this ->getHeaderMap ());
@@ -140,7 +149,12 @@ public function testMergeOtherCustomerCart()
140
149
$ this ->quoteResource ->load ($ firstQuote , 'test_quote ' , 'reserved_order_id ' );
141
150
142
151
$ firstMaskedId = $ this ->quoteIdToMaskedId ->execute ((int )$ firstQuote ->getId ());
143
- $ createCartResponse =
$ this ->
graphQlMutation (
$ this ->
getCreateEmptyCartMutation (), [],
'' ,
$ this ->
getHeaderMap (
'[email protected] ' ));
152
+ $ createCartResponse = $ this ->graphQlMutation (
153
+ $ this ->getCreateEmptyCartMutation (),
154
+ [],
155
+ '' ,
156
+ $ this ->
getHeaderMap (
'[email protected] ' )
157
+ );
144
158
self ::assertArrayHasKey ('createEmptyCart ' , $ createCartResponse );
145
159
$ secondMaskedId = $ createCartResponse ['createEmptyCart ' ];
146
160
$ this ->
addSimpleProductToCart (
$ secondMaskedId,
$ this ->
getHeaderMap (
'[email protected] ' ));
0 commit comments