Skip to content

Commit 552bb8a

Browse files
author
OlgaVasyltsun
committed
MC-20449: [Integration Test]Hide product images via hide_from_product_page attribute during import CSV
1 parent b14b552 commit 552bb8a

File tree

1 file changed

+2
-2
lines changed
  • dev/tests/integration/testsuite/Magento/CatalogImportExport/Model/Import

1 file changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/CatalogImportExport/Model/Import/ProductTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2628,12 +2628,12 @@ public function testImagesAreHiddenAfterImport(): void
26282628
$actualAllProductImages = [];
26292629
$product = $this->getProductBySku('simple');
26302630

2631-
// Check that new images are imported and existing image is disabled after import
2631+
// Check that new images were imported and existing image is disabled after import
26322632
$productMediaData = $product->getData('media_gallery');
26332633

26342634
$this->assertNotEmpty($productMediaData['images']);
26352635
$allProductImages = $productMediaData['images'];
2636-
$this->assertCount(3, $allProductImages, 'Images are imported incorrect');
2636+
$this->assertCount(3, $allProductImages, 'Images were imported incorrectly');
26372637

26382638
foreach ($allProductImages as $image) {
26392639
$actualAllProductImages[] = [

0 commit comments

Comments
 (0)