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 9568f75 commit 9767984Copy full SHA for 9767984
app/code/Magento/Catalog/Test/Unit/Model/Product/Gallery/ReadHandlerTest.php
@@ -42,7 +42,6 @@ protected function setUp()
42
);
43
}
44
45
-
46
public function testAddMediaDataToProduct()
47
{
48
$attribute = $this->getMockBuilder(\Magento\Eav\Model\Entity\Attribute::class)
@@ -56,7 +55,6 @@ public function testAddMediaDataToProduct()
56
55
->with('media_gallery')
57
->willReturn($attribute);
58
59
60
$product = $this->getMockBuilder(\Magento\Catalog\Model\Product::class)
61
->disableOriginalConstructor()
62
->getMock();
@@ -71,5 +69,4 @@ public function testAddMediaDataToProduct()
71
69
72
70
$this->model->addMediaDataToProduct($product, [['value_id' => 10]]);
73
74
75
0 commit comments