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 bc819f4 commit c1bbc94Copy full SHA for c1bbc94
app/code/Magento/Swatches/Test/Unit/Helper/MediaTest.php
@@ -193,6 +193,7 @@ public function testGenerateSwatchVariations()
193
$this->imageFactoryMock->expects($this->any())->method('create')->willReturn($image);
194
$this->generateImageConfig();
195
$image->expects($this->any())->method('resize')->will($this->returnSelf());
196
+ $image->expects($this->atLeastOnce())->method('backgroundColor')->with([255, 255, 255])->willReturnSelf();
197
$this->mediaHelperObject->generateSwatchVariations('/e/a/earth.png');
198
}
199
0 commit comments