Skip to content

Commit ca8c7fc

Browse files
committed
Fixed failing tests
1 parent 0ea7d50 commit ca8c7fc

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/CategoryTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,9 @@ public function testCategoryProducts()
225225
}
226226
short_description
227227
sku
228-
small_image
228+
small_image {
229+
path
230+
}
229231
small_image_label
230232
special_from_date
231233
special_price

dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/ProductViewTest.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@ public function testQueryAllFieldsSimpleProduct()
205205
}
206206
short_description
207207
sku
208-
small_image
208+
small_image {
209+
path
210+
}
209211
small_image_label
210212
special_from_date
211213
special_price
@@ -484,7 +486,7 @@ public function testQueryMediaGalleryEntryFieldsSimpleProduct()
484486
QUERY;
485487

486488
$response = $this->graphQlQuery($query);
487-
489+
488490
/**
489491
* @var ProductRepositoryInterface $productRepository
490492
*/

0 commit comments

Comments
 (0)