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 867358b commit 5d3db70Copy full SHA for 5d3db70
dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/ResolverCache/MediaGalleryTest.php
@@ -223,6 +223,18 @@ function (ProductInterface $product) use ($galleryManagement) {
223
},
224
true
225
],
226
+ 'update video description' => [
227
+ function (ProductInterface $product) use ($galleryManagement) {
228
+ $mediaEntry = $product->getMediaGalleryEntries()[0];
229
+ $mediaEntry
230
+ ->getExtensionAttributes()
231
+ ->getVideoContent()
232
+ ->setVideoDescription('Something different');
233
+
234
+ $galleryManagement->update($product->getSku(), $mediaEntry);
235
+ },
236
+ true
237
+ ],
238
'update product name' => [
239
function (ProductInterface $product) use ($productRepository) {
240
$product->setName('new name');
0 commit comments