File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Catalog/Test/Unit/Model Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ class ProductTest extends \PHPUnit\Framework\TestCase
200
200
/**
201
201
* @var ProductExtensionInterface|\PHPUnit_Framework_MockObject_MockObject
202
202
*/
203
- private $ extensionAttributes ;
203
+ private $ productExtAttributes ;
204
204
205
205
/**
206
206
* @var \Magento\Eav\Model\Config|\PHPUnit_Framework_MockObject_MockObject
@@ -372,13 +372,13 @@ protected function setUp()
372
372
$ this ->mediaConfig = $ this ->createMock (\Magento \Catalog \Model \Product \Media \Config::class);
373
373
$ this ->eavConfig = $ this ->createMock (\Magento \Eav \Model \Config::class);
374
374
375
- $ this ->extensionAttributes = $ this ->getMockBuilder (ProductExtensionInterface::class)
375
+ $ this ->productExtAttributes = $ this ->getMockBuilder (ProductExtensionInterface::class)
376
376
->setMethods (['getStockItem ' ])
377
377
->getMockForAbstractClass ();
378
378
$ this ->extensionAttributesFactory
379
379
->expects ($ this ->any ())
380
380
->method ('create ' )
381
- ->willReturn ($ this ->extensionAttributes );
381
+ ->willReturn ($ this ->productExtAttributes );
382
382
383
383
$ this ->filterCustomAttribute = $ this ->createTestProxy (
384
384
\Magento \Catalog \Model \FilterProductCustomAttribute::class
You can’t perform that action at this time.
0 commit comments