Completed
Push — master ( b5f6a4...1448cb )
by Kamil
25:07
created
tests/Controller/TaxonApiTest.php 1 patch
Upper-Lower-Casing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
                 }
185 185
             }
186 186
         }
187
-EOT;
187
+eot;
188 188
 
189 189
         $this->client->request('POST', '/api/v1/taxons/', [], [], static::$authorizedHeaderWithContentType, $data);
190 190
 
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
         {
205 205
             "code": "fluffy_pets"
206 206
         }
207
-EOT;
207
+eot;
208 208
 
209 209
         $this->client->request('POST', '/api/v1/taxons/', [], [], static::$authorizedHeaderWithContentType, $data);
210 210
 
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
                 }
238 238
             }
239 239
         }
240
-EOT;
240
+eot;
241 241
 
242 242
         $this->client->request('POST', '/api/v1/taxons/', [], [], static::$authorizedHeaderWithContentType, $data);
243 243
 
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
             "code": "horror",
261 261
             "parent": "books"
262 262
         }
263
-EOT;
263
+eot;
264 264
 
265 265
         $this->client->request('POST', '/api/v1/taxons/', [], [], static::$authorizedHeaderWithContentType, $data);
266 266
 
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
                 }
302 302
             ]
303 303
         }
304
-EOT;
304
+eot;
305 305
 
306 306
         $this->client->request('POST', '/api/v1/taxons/', [], [
307 307
             'images' => [
@@ -335,7 +335,7 @@  discard block
 block discarded – undo
335 335
             },
336 336
             "parent": "books"
337 337
         }
338
-EOT;
338
+eot;
339 339
         $this->client->request('PUT', $this->getTaxonUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data);
340 340
         $response = $this->client->getResponse();
341 341
 
@@ -362,7 +362,7 @@  discard block
 block discarded – undo
362 362
                 }
363 363
             }
364 364
         }
365
-EOT;
365
+eot;
366 366
         $this->client->request('PUT', $this->getTaxonUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data);
367 367
         $response = $this->client->getResponse();
368 368
 
@@ -389,7 +389,7 @@  discard block
 block discarded – undo
389 389
                 }
390 390
             }
391 391
         }
392
-EOT;
392
+eot;
393 393
         $this->client->request('PATCH', $this->getTaxonUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data);
394 394
         $response = $this->client->getResponse();
395 395
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
@@ -415,7 +415,7 @@  discard block
 block discarded – undo
415 415
                 }
416 416
             }
417 417
         }
418
-EOT;
418
+eot;
419 419
         $this->client->request('PATCH', $this->getTaxonUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data);
420 420
         $response = $this->client->getResponse();
421 421
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
@@ -461,7 +461,7 @@  discard block
 block discarded – undo
461 461
                 }
462 462
             ]
463 463
         }
464
-EOT;
464
+eot;
465 465
 
466 466
         $this->client->request('PUT', $this->getTaxonProductsPositionsChangeUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data);
467 467
 
@@ -491,7 +491,7 @@  discard block
 block discarded – undo
491 491
                 }
492 492
             ]
493 493
         }
494
-EOT;
494
+eot;
495 495
 
496 496
         $this->client->request('PUT', $this->getTaxonProductsPositionsChangeUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data);
497 497
 
Please login to merge, or discard this patch.
tests/Controller/CheckoutPaymentApiTest.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
                 }
85 85
             ]
86 86
         }
87
-EOT;
87
+eot;
88 88
 
89 89
         $this->client->request('PUT', $this->getSelectPaymentUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data);
90 90
 
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
                 }
175 175
             ]
176 176
         }
177
-EOT;
177
+eot;
178 178
 
179 179
         $this->client->request('PUT', $this->getSelectPaymentUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data);
180 180
 
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
                 }
216 216
             ]
217 217
         }
218
-EOT;
218
+eot;
219 219
 
220 220
         $this->client->request('PUT', $this->getSelectPaymentUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data);
221 221
 
Please login to merge, or discard this patch.
Sylius/Bundle/ResourceBundle/test/src/Tests/Controller/ComicBookApiTest.php 1 patch
Upper-Lower-Casing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
             "authorFirstName": "Joe",
32 32
             "authorLastName": "Kelly"
33 33
         }
34
-EOT;
34
+eot;
35 35
 
36 36
         $this->client->request('POST', '/v1/comic-books/', [], [], ['CONTENT_TYPE' => 'application/json'], $data);
37 37
         $response = $this->client->getResponse();
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
             "authorFirstName": "Joe",
51 51
             "authorLastName": "Kelly"
52 52
         }
53
-EOT;
53
+eot;
54 54
 
55 55
         $this->client->request('POST', '/v1.2/comic-books/', [], [], ['CONTENT_TYPE' => 'application/json'], $data);
56 56
         $response = $this->client->getResponse();
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
             "authorFirstName": "Joe",
72 72
             "authorLastName": "Kelly"
73 73
         }
74
-EOT;
74
+eot;
75 75
 
76 76
         $this->client->request('PUT', '/v1/comic-books/' . $objects['comic-book1']->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data);
77 77
         $response = $this->client->getResponse();
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
             "authorFirstName": "Joe",
92 92
             "authorLastName": "Kelly"
93 93
         }
94
-EOT;
94
+eot;
95 95
 
96 96
         $this->client->request('PATCH', '/v1/comic-books/' . $objects['comic-book1']->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data);
97 97
         $response = $this->client->getResponse();
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/test/src/Tests/Controller/BookApiTest.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
             },
35 35
             "author": "Christie Golden"
36 36
         }
37
-EOT;
37
+eot;
38 38
 
39 39
         $this->client->request('POST', '/books/', [], [], ['CONTENT_TYPE' => 'application/json'], $data);
40 40
         $response = $this->client->getResponse();
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
             },
62 62
             "author": "Christie Golden"
63 63
         }
64
-EOT;
64
+eot;
65 65
 
66 66
         $this->client->request('PUT', '/books/' . $objects['book1']->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data);
67 67
         $response = $this->client->getResponse();
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         {
81 81
             "author": "Christie Golden"
82 82
         }
83
-EOT;
83
+eot;
84 84
 
85 85
         $this->client->request('PATCH', '/books/' . $objects['book1']->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data);
86 86
         $response = $this->client->getResponse();
Please login to merge, or discard this patch.
tests/Controller/CustomerApiTest.php 1 patch
Upper-Lower-Casing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
                 "enabled": "true"
76 76
             }
77 77
         }
78
-EOT;
78
+eot;
79 79
 
80 80
         $this->client->request('POST', '/api/v1/customers/', [], [], static::$authorizedHeaderWithContentType, $data);
81 81
 
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
             "email": "[email protected]",
99 99
             "gender": "m"
100 100
         }
101
-EOT;
101
+eot;
102 102
 
103 103
         $this->client->request('POST', '/api/v1/customers/', [], [], static::$authorizedHeaderWithContentType, $data);
104 104
 
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
                 "plainPassword" : "testPassword"
125 125
             }
126 126
         }
127
-EOT;
127
+eot;
128 128
 
129 129
         $this->client->request('POST', '/api/v1/customers/', [], [], static::$authorizedHeaderWithContentType, $data);
130 130
 
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
             "email": "[email protected]",
278 278
             "gender": "m"
279 279
         }
280
-EOT;
280
+eot;
281 281
 
282 282
         $this->client->request('PUT', '/api/v1/customers/' . $customers['customer_Oliver']->getId(), [], [], static::$authorizedHeaderWithContentType, $data);
283 283
 
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
             "firstName": "John",
318 318
             "lastName": "Doe"
319 319
         }
320
-EOT;
320
+eot;
321 321
 
322 322
         $this->client->request('PATCH', '/api/v1/customers/' . $customers['customer_Oliver']->getId(), [], [], static::$authorizedHeaderWithContentType, $data);
323 323
 
Please login to merge, or discard this patch.
tests/Controller/ZoneApiTest.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
                 }
85 85
             ]
86 86
         }
87
-EOT;
87
+eot;
88 88
 
89 89
         $this->client->request('POST', '/api/v1/zones/country', [], [], static::$authorizedHeaderWithContentType, $data);
90 90
 
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
                 }
215 215
             ]
216 216
         }
217
-EOT;
217
+eot;
218 218
 
219 219
         $this->client->request('PUT', '/api/v1/zones/' . $zones['zone_eu']->getCode(), [], [], static::$authorizedHeaderWithContentType, $data);
220 220
 
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
         {
266 266
             "name": "European Union +"
267 267
         }
268
-EOT;
268
+eot;
269 269
 
270 270
         $this->client->request('PATCH', '/api/v1/zones/' . $zones['zone_eu']->getCode(), [], [], static::$authorizedHeaderWithContentType, $data);
271 271
 
Please login to merge, or discard this patch.