Skip to content

Commit 32baeb4

Browse files
author
Valeriy Nayda
committed
GraphQL-174: Absolute image paths for Products
-- Fix API-functional tests
1 parent ddb64a5 commit 32baeb4

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,7 @@ public function testCategoryProducts()
141141
available_sort_by
142142
level
143143
}
144-
image { url, path, label }
145-
image_label
144+
image { url, label }
146145
meta_description
147146
meta_keyword
148147
meta_title
@@ -225,8 +224,8 @@ public function testCategoryProducts()
225224
}
226225
short_description
227226
sku
228-
small_image { url, path, label }
229-
thumbnail { url, path, label }
227+
small_image { url, label }
228+
thumbnail { url, label }
230229
special_from_date
231230
special_price
232231
special_to_date

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ public function testProductWithSmallImage()
8181
items {
8282
small_image {
8383
url
84-
path
8584
label
8685
}
8786
}
@@ -107,7 +106,6 @@ public function testProductWithThumbnail()
107106
items {
108107
thumbnail {
109108
url
110-
path
111109
label
112110
}
113111
}

0 commit comments

Comments
 (0)