Skip to content

Commit 5915143

Browse files
author
Stanislav Idolov
committed
magento/magento2/#13917
1 parent 64ecbe5 commit 5915143

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
@@ -166,6 +166,7 @@ public function testGenerateSwatchVariations()
166166
$this->imageFactoryMock->expects($this->any())->method('create')->willReturn($image);
167167
$this->generateImageConfig();
168168
$image->expects($this->any())->method('resize')->will($this->returnSelf());
169+
$image->expects($this->atLeastOnce())->method('backgroundColor')->with([255, 255, 255])->willReturnSelf();
169170
$this->mediaHelperObject->generateSwatchVariations('/e/a/earth.png');
170171
}
171172

0 commit comments

Comments
 (0)