@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | } |
183 | 183 | } |
184 | 184 | } |
185 | -EOT; |
|
185 | +eot; |
|
186 | 186 | |
187 | 187 | $this->client->request('POST', '/api/v1/taxons/', [], [], static::$authorizedHeaderWithContentType, $data); |
188 | 188 | |
@@ -202,7 +202,7 @@ discard block |
||
202 | 202 | { |
203 | 203 | "code": "fluffy_pets" |
204 | 204 | } |
205 | -EOT; |
|
205 | +eot; |
|
206 | 206 | |
207 | 207 | $this->client->request('POST', '/api/v1/taxons/', [], [], static::$authorizedHeaderWithContentType, $data); |
208 | 208 | |
@@ -235,7 +235,7 @@ discard block |
||
235 | 235 | } |
236 | 236 | } |
237 | 237 | } |
238 | -EOT; |
|
238 | +eot; |
|
239 | 239 | |
240 | 240 | $this->client->request('POST', '/api/v1/taxons/', [], [], static::$authorizedHeaderWithContentType, $data); |
241 | 241 | |
@@ -258,7 +258,7 @@ discard block |
||
258 | 258 | "code": "horror", |
259 | 259 | "parent": "books" |
260 | 260 | } |
261 | -EOT; |
|
261 | +eot; |
|
262 | 262 | |
263 | 263 | $this->client->request('POST', '/api/v1/taxons/', [], [], static::$authorizedHeaderWithContentType, $data); |
264 | 264 | |
@@ -299,7 +299,7 @@ discard block |
||
299 | 299 | } |
300 | 300 | ] |
301 | 301 | } |
302 | -EOT; |
|
302 | +eot; |
|
303 | 303 | |
304 | 304 | $this->client->request('POST', '/api/v1/taxons/', [], [ |
305 | 305 | 'images' => [ |
@@ -333,7 +333,7 @@ discard block |
||
333 | 333 | }, |
334 | 334 | "parent": "books" |
335 | 335 | } |
336 | -EOT; |
|
336 | +eot; |
|
337 | 337 | $this->client->request('PUT', $this->getTaxonUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data); |
338 | 338 | $response = $this->client->getResponse(); |
339 | 339 | |
@@ -360,7 +360,7 @@ discard block |
||
360 | 360 | } |
361 | 361 | } |
362 | 362 | } |
363 | -EOT; |
|
363 | +eot; |
|
364 | 364 | $this->client->request('PUT', $this->getTaxonUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data); |
365 | 365 | $response = $this->client->getResponse(); |
366 | 366 | |
@@ -387,7 +387,7 @@ discard block |
||
387 | 387 | } |
388 | 388 | } |
389 | 389 | } |
390 | -EOT; |
|
390 | +eot; |
|
391 | 391 | $this->client->request('PATCH', $this->getTaxonUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data); |
392 | 392 | $response = $this->client->getResponse(); |
393 | 393 | $this->assertResponseCode($response, Response::HTTP_NO_CONTENT); |
@@ -413,7 +413,7 @@ discard block |
||
413 | 413 | } |
414 | 414 | } |
415 | 415 | } |
416 | -EOT; |
|
416 | +eot; |
|
417 | 417 | $this->client->request('PATCH', $this->getTaxonUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data); |
418 | 418 | $response = $this->client->getResponse(); |
419 | 419 | $this->assertResponseCode($response, Response::HTTP_NO_CONTENT); |
@@ -459,7 +459,7 @@ discard block |
||
459 | 459 | } |
460 | 460 | ] |
461 | 461 | } |
462 | -EOT; |
|
462 | +eot; |
|
463 | 463 | |
464 | 464 | $this->client->request('PUT', $this->getTaxonProductsPositionsChangeUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data); |
465 | 465 | |
@@ -489,7 +489,7 @@ discard block |
||
489 | 489 | } |
490 | 490 | ] |
491 | 491 | } |
492 | -EOT; |
|
492 | +eot; |
|
493 | 493 | |
494 | 494 | $this->client->request('PUT', $this->getTaxonProductsPositionsChangeUrl($taxon) , [], [], static::$authorizedHeaderWithContentType, $data); |
495 | 495 |