Completed
Push — api ( cecea0...116a36 )
by Kamil
29:57 queued 30s
created
src/Sylius/Behat/Client/ApiPlatformClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Api/Admin/ManagingProductOptionsContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -181,8 +181,8 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Api/Admin/ManagingProductReviewsContext.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -162,11 +162,11 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.