@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | "channel": "CHANNEL", |
| 48 | 48 | "localeCode": "en_US" |
| 49 | 49 | } |
| 50 | -EOT; |
|
| 50 | +eot; |
|
| 51 | 51 | |
| 52 | 52 | $this->client->request('POST', '/api/v1/carts/', [], [], static::$authorizedHeaderWithContentType, $data); |
| 53 | 53 | |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | "variant": "MUG_SW", |
| 72 | 72 | "quantity": 1 |
| 73 | 73 | } |
| 74 | -EOT; |
|
| 74 | +eot; |
|
| 75 | 75 | |
| 76 | 76 | $this->client->request('POST', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
| 77 | 77 | $this->assertResponseCode($this->client->getResponse(), Response::HTTP_CREATED); |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | }, |
| 106 | 106 | "differentBillingAddress": true |
| 107 | 107 | } |
| 108 | -EOT; |
|
| 108 | +eot; |
|
| 109 | 109 | |
| 110 | 110 | $url = sprintf('/api/v1/checkouts/addressing/%d', $cartId); |
| 111 | 111 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | } |
| 134 | 134 | ] |
| 135 | 135 | } |
| 136 | -EOT; |
|
| 136 | +eot; |
|
| 137 | 137 | |
| 138 | 138 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
| 139 | 139 | $this->assertResponseCode($this->client->getResponse(), Response::HTTP_NO_CONTENT); |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | } |
| 161 | 161 | ] |
| 162 | 162 | } |
| 163 | -EOT; |
|
| 163 | +eot; |
|
| 164 | 164 | |
| 165 | 165 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
| 166 | 166 | $this->assertResponseCode($this->client->getResponse(), Response::HTTP_NO_CONTENT); |