@@ -40,7 +40,7 @@ |
||
| 40 | 40 | |
| 41 | 41 | public function index(string $resource): void |
| 42 | 42 | { |
| 43 | - $this->request('GET', '/new-api/'.$resource, ['HTTP_ACCEPT' => 'application/ld+json']); |
|
| 43 | + $this->request('GET', '/new-api/' . $resource, ['HTTP_ACCEPT' => 'application/ld+json']); |
|
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | public function show(string $resource, string $id): void |
@@ -181,8 +181,8 @@ |
||
| 181 | 181 | $count = $this->client->countCollectionItems(); |
| 182 | 182 | |
| 183 | 183 | Assert::true( |
| 184 | - $this->client->hasItemOnPositionWithValue($count-1, $field, $value), |
|
| 185 | - sprintf('There should be product option with %s "%s" on position %d, but it does not.', $field, $value, $count-1) |
|
| 184 | + $this->client->hasItemOnPositionWithValue($count - 1, $field, $value), |
|
| 185 | + sprintf('There should be product option with %s "%s" on position %d, but it does not.', $field, $value, $count - 1) |
|
| 186 | 186 | ); |
| 187 | 187 | } |
| 188 | 188 | |
@@ -162,11 +162,11 @@ |
||
| 162 | 162 | */ |
| 163 | 163 | public function thisProductReviewShouldNoLongerExistInTheRegistry(): void |
| 164 | 164 | { |
| 165 | - $id = (string) $this->sharedStorage->get('product_review_id'); |
|
| 166 | - Assert::false( |
|
| 167 | - $this->isItemOnIndex('id', $id), |
|
| 168 | - sprintf('Product review with id %s exist', $id) |
|
| 169 | - ); |
|
| 165 | + $id = (string) $this->sharedStorage->get('product_review_id'); |
|
| 166 | + Assert::false( |
|
| 167 | + $this->isItemOnIndex('id', $id), |
|
| 168 | + sprintf('Product review with id %s exist', $id) |
|
| 169 | + ); |
|
| 170 | 170 | } |
| 171 | 171 | |
| 172 | 172 | /** |