Skip to content

Commit afac7ea

Browse files
Update expectation for return type of getCustomAttributes
1 parent 5e84595 commit afac7ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/integration/testsuite/Magento/Swatches/Block/Product/ListProductTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ private function assertProductImage(array $images, string $area, array $expectat
166166
$this->updateProductImages($images);
167167
$productImage = $this->listingBlock->getImage($this->productRepository->get('configurable'), $area);
168168
$this->assertInstanceOf(Image::class, $productImage);
169-
$this->assertEquals($productImage->getCustomAttributes(), '');
169+
$this->assertEquals($productImage->getCustomAttributes(), []);
170170
$this->assertEquals($productImage->getClass(), 'product-image-photo');
171171
$this->assertEquals($productImage->getRatio(), 1.25);
172172
$this->assertEquals($productImage->getLabel(), $expectation['label']);

0 commit comments

Comments
 (0)