Skip to content

Commit cd69470

Browse files
committed
MAGETWO-33068: [Dev] Layout Processing Improvement
1 parent e13dec6 commit cd69470

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

dev/tests/unit/testsuite/Magento/Indexer/Model/Resource/AbstractResourceTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class AbstractResourceTest extends \PHPUnit_Framework_TestCase
2828
protected $_categoryCollectionFactoryMock;
2929

3030
/**
31-
* @var \Magento\Framework\Store\StoreManagerInterface|\PHPUnit_Framework_MockObject_MockObject
31+
* @var \Magento\Store\Model\StoreManagerInterface|\PHPUnit_Framework_MockObject_MockObject
3232
*/
3333
protected $_storeManagerMock;
3434

@@ -53,7 +53,7 @@ protected function setUp()
5353
$this->_categoryCollectionFactoryMock = $this->getMockBuilder(
5454
'Magento\Catalog\Model\Resource\Category\CollectionFactory'
5555
)->disableOriginalConstructor()->getMock();
56-
$this->_storeManagerMock = $this->getMock('Magento\Framework\Store\StoreManagerInterface');
56+
$this->_storeManagerMock = $this->getMock('Magento\Store\Model\StoreManagerInterface');
5757
$this->_catalogConfigMock = $this->getMockBuilder('Magento\Catalog\Model\Config')
5858
->disableOriginalConstructor()
5959
->getMock();

dev/tests/unit/testsuite/Magento/Theme/Model/CopyServiceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ protected function setUp()
186186
'',
187187
false
188188
);
189-
$this->updateFactory->expects($this->at(0))->method('create')->will($this->returnValue($this->_update));
189+
$this->updateFactory->expects($this->at(0))->method('create')->will($this->returnValue($this->update));
190190
$this->updateCollection = $this->getMock(
191191
'Magento\Widget\Model\Resource\Layout\Update\Collection',
192192
['addThemeFilter', 'delete', 'getIterator'],

dev/tests/unit/testsuite/Magento/Theme/Model/Favicon/FaviconTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use Magento\Backend\Model\Config\Backend\Image\Favicon as ImageFavicon;
99
use Magento\Framework\App\Filesystem\DirectoryList;
1010
use Magento\Framework\UrlInterface;
11-
use Magento\Framework\Store\ScopeInterface;
11+
use Magento\Store\Model\ScopeInterface;
1212

1313
class FaviconTest extends \PHPUnit_Framework_TestCase
1414
{
@@ -42,12 +42,12 @@ class FaviconTest extends \PHPUnit_Framework_TestCase
4242
*/
4343
public function setUp()
4444
{
45-
$storeManager = $this->getMockBuilder('Magento\Framework\Store\StoreManagerInterface')->getMock();
45+
$storeManager = $this->getMockBuilder('Magento\Store\Model\StoreManagerInterface')->getMock();
4646
$this->store = $this->getMockBuilder('Magento\Store\Model\Store')->disableOriginalConstructor()->getMock();
4747
$storeManager->expects($this->any())
4848
->method('getStore')
4949
->willReturn($this->store);
50-
/** @var \Magento\Framework\Store\StoreManagerInterface $storeManager */
50+
/** @var \Magento\Store\Model\StoreManagerInterface $storeManager */
5151
$this->scopeManager = $this->getMockBuilder('Magento\Framework\App\Config\ScopeConfigInterface')->getMock();
5252
$this->fileStorageDatabase = $this->getMockBuilder('Magento\Core\Helper\File\Storage\Database')
5353
->disableOriginalConstructor()

0 commit comments

Comments
 (0)