Completed
Push — master ( 4052fc...163f10 )
by Kamil
42:34 queued 20:08
created
tests/Controller/ProductVariantApiTest.php 1 patch
Upper-Lower-Casing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
         {
132 132
             "code": "MONSTER_MUG"
133 133
         }
134
-EOT;
134
+eot;
135 135
         $this->client->request('POST', sprintf('/api/v1/products/%s/variants/', $product_variants_data['product1']->getId()), [], [], static::$authorizedHeaderWithContentType, $data);
136 136
         $response = $this->client->getResponse();
137 137
 
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
                 }
175 175
             }
176 176
         }
177
-EOT;
177
+eot;
178 178
         $this->client->request('POST', sprintf('/api/v1/products/%s/variants/', $product_variants_data['product1']->getId()), [], [], static::$authorizedHeaderWithContentType, $data);
179 179
         $response = $this->client->getResponse();
180 180
 
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
                 }
204 204
             ]
205 205
         }
206
-EOT;
206
+eot;
207 207
         $this->client->request('POST', sprintf('/api/v1/products/%s/variants/', $product_variants_data['product1']->getId()), [], [], static::$authorizedHeaderWithContentType, $data);
208 208
         $response = $this->client->getResponse();
209 209
 
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
             "tracked": true,
226 226
             "onHand": 5
227 227
         }
228
-EOT;
228
+eot;
229 229
         $this->client->request('POST', sprintf('/api/v1/products/%s/variants/', $product_variants_data['product1']->getId()), [], [], static::$authorizedHeaderWithContentType, $data);
230 230
         $response = $this->client->getResponse();
231 231
 
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
             "code": "MONSTER_MUG",
248 248
             "tax_category": "TC1"
249 249
         }
250
-EOT;
250
+eot;
251 251
         $this->client->request('POST', sprintf('/api/v1/products/%s/variants/', $product_variants_data['product1']->getId()), [], [], static::$authorizedHeaderWithContentType, $data);
252 252
         $response = $this->client->getResponse();
253 253
 
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
             "code": "MONSTER_MUG",
270 270
             "shipping_category": "SC1"
271 271
         }
272
-EOT;
272
+eot;
273 273
         $this->client->request('POST', sprintf('/api/v1/products/%s/variants/', $product_variants_data['product1']->getId()), [], [], static::$authorizedHeaderWithContentType, $data);
274 274
         $response = $this->client->getResponse();
275 275
 
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
                 "MUG__TYPE": "MUG_TYPE_MEDIUM" 
294 294
             }
295 295
         }
296
-EOT;
296
+eot;
297 297
         $this->client->request('POST', sprintf('/api/v1/products/%s/variants/', $product_variants_data['product1']->getId()), [], [], static::$authorizedHeaderWithContentType, $data);
298 298
         $response = $this->client->getResponse();
299 299
 
@@ -346,7 +346,7 @@  discard block
 block discarded – undo
346 346
         {
347 347
             "code": "NEW_MUG_CODE"
348 348
         }
349
-EOT;
349
+eot;
350 350
         $this->client->request('PUT', sprintf('/api/v1/products/%s/variants/%s', $product_variants_data['product1']->getId(), $product_variants_data['productVariant1']->getId()), [], [], static::$authorizedHeaderWithContentType, $data);
351 351
         $response = $this->client->getResponse();
352 352
 
@@ -373,7 +373,7 @@  discard block
 block discarded – undo
373 373
                 }
374 374
             }
375 375
         }
376
-EOT;
376
+eot;
377 377
         $this->client->request('PATCH', sprintf('/api/v1/products/%s/variants/%s', $product_variants_data['product1']->getId(), $product_variants_data['productVariant1']->getId()), [], [], static::$authorizedHeaderWithContentType, $data);
378 378
         $response = $this->client->getResponse();
379 379
 
@@ -394,7 +394,7 @@  discard block
 block discarded – undo
394 394
         {
395 395
             "tracked": false
396 396
         }
397
-EOT;
397
+eot;
398 398
         $this->client->request('PATCH', sprintf('/api/v1/products/%s/variants/%s', $product_variants_data['product2']->getId(), $product_variants_data['productVariant21']->getId()), [], [], static::$authorizedHeaderWithContentType, $data);
399 399
         $response = $this->client->getResponse();
400 400
 
Please login to merge, or discard this patch.