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 b2c47af commit b40d857Copy full SHA for b40d857
dev/tests/integration/testsuite/Magento/Catalog/Model/ResourceModel/Product/GalleryTest.php
@@ -61,13 +61,14 @@ protected function setUp(): void
61
*
62
* @return void
63
*/
64
- public function testProductUpdate(): void
+ public function testDeleteProductWithImage(): void
65
{
66
$product = $this->productRepository->get('simple');
67
68
$attributeId = $this->readHandler->getAttribute()->getAttributeId();
69
$mediaGalleryData = $this->galleryResource->loadProductGalleryByAttributeId($product, $attributeId);
70
$values = array_column($mediaGalleryData, 'value_id');
71
+ $this->assertNotEmpty($this->getMediaGalleryDataByValues($values));
72
73
$this->productRepository->delete($product);
74
0 commit comments