Skip to content

Commit c1bbc94

Browse files
author
Stanislav Idolov
committed
magento/magento2/#13916
1 parent bc819f4 commit c1bbc94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Swatches/Test/Unit/Helper/MediaTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ public function testGenerateSwatchVariations()
193193
$this->imageFactoryMock->expects($this->any())->method('create')->willReturn($image);
194194
$this->generateImageConfig();
195195
$image->expects($this->any())->method('resize')->will($this->returnSelf());
196+
$image->expects($this->atLeastOnce())->method('backgroundColor')->with([255, 255, 255])->willReturnSelf();
196197
$this->mediaHelperObject->generateSwatchVariations('/e/a/earth.png');
197198
}
198199

0 commit comments

Comments
 (0)