Skip to content

Commit

Permalink
Update expectation for return type of getCustomAttributes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-aleman committed Feb 22, 2020
1 parent 5e84595 commit afac7ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ private function assertProductImage(array $images, string $area, array $expectat
$this->updateProductImages($images);
$productImage = $this->listingBlock->getImage($this->productRepository->get('configurable'), $area);
$this->assertInstanceOf(Image::class, $productImage);
$this->assertEquals($productImage->getCustomAttributes(), '');
$this->assertEquals($productImage->getCustomAttributes(), []);
$this->assertEquals($productImage->getClass(), 'product-image-photo');
$this->assertEquals($productImage->getRatio(), 1.25);
$this->assertEquals($productImage->getLabel(), $expectation['label']);
Expand Down

0 comments on commit afac7ea

Please sign in to comment.