@@ -53,7 +53,7 @@ class SitemapTest extends \PHPUnit_Framework_TestCase
53
53
/**
54
54
* @var \Magento\Store\Model\StoreManagerInterface|\PHPUnit_Framework_MockObject_MockObject
55
55
*/
56
- private $ _storeManagerMock ;
56
+ private $ storeManagerMock ;
57
57
58
58
/**
59
59
* Set helper mocks, create resource model mock
@@ -487,7 +487,7 @@ function ($from, $to) {
487
487
->method ('getBaseUrl ' )
488
488
->with ($ this ->isType ('string ' ), false )
489
489
->willReturn ('http://store.com/ ' );
490
- $ this ->_storeManagerMock ->expects ($ this ->atLeastOnce ())
490
+ $ this ->storeManagerMock ->expects ($ this ->atLeastOnce ())
491
491
->method ('getStore ' )
492
492
->with (1 )
493
493
->willReturn ($ storeMock );
@@ -628,7 +628,7 @@ protected function _getModelConstructorArgs()
628
628
)->disableOriginalConstructor ()->getMock ();
629
629
$ cmsFactory ->expects ($ this ->any ())->method ('create ' )->will ($ this ->returnValue ($ this ->_sitemapCmsPageMock ));
630
630
631
- $ this ->_storeManagerMock = $ this ->getMockBuilder (\Magento \Store \Model \StoreManagerInterface::class)
631
+ $ this ->storeManagerMock = $ this ->getMockBuilder (\Magento \Store \Model \StoreManagerInterface::class)
632
632
->setMethods (['getStore ' ])
633
633
->getMockForAbstractClass ();
634
634
@@ -639,7 +639,7 @@ protected function _getModelConstructorArgs()
639
639
'categoryFactory ' => $ categoryFactory ,
640
640
'productFactory ' => $ productFactory ,
641
641
'cmsFactory ' => $ cmsFactory ,
642
- 'storeManager ' => $ this ->_storeManagerMock ,
642
+ 'storeManager ' => $ this ->storeManagerMock ,
643
643
'sitemapData ' => $ this ->_helperMockSitemap ,
644
644
'filesystem ' => $ this ->_filesystemMock
645
645
]
0 commit comments