We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9474d36 commit 92f8c48Copy full SHA for 92f8c48
dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/ResolverCache/MediaGalleryTest.php
@@ -393,6 +393,11 @@ function (ProductInterface $product) {
393
'video_content' => $videoContent->toArray(),
394
];
395
396
+ // unset properties of gallery that are not accepted by the API
397
+ unset($galleryEntryArray['entity_id']);
398
+ unset($galleryEntryArray['extension_attributes']['video_content']['entity_id']);
399
+
400
+ // update label
401
$galleryEntryArray['label'] = 'new label';
402
403
$this->_webApiCall(
0 commit comments