Skip to content

Commit 7452b6e

Browse files
committed
Merge branch 'MAGETWO-50676' of github.corp.magento.com:magento-firedrakes/magento2ce into MAGETWO-50676
2 parents 8938655 + 55178aa commit 7452b6e

File tree

4 files changed

+7
-21
lines changed

4 files changed

+7
-21
lines changed

app/code/Magento/Cms/Test/Unit/Model/ResourceModel/Block/CollectionTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class CollectionTest extends AbstractCollectionTest
2121
protected $storeManagerMock;
2222

2323
/**
24-
* @var \Magento\Framework\Model\Entity\MetadataPool|\PHPUnit_Framework_MockObject_MockObject
24+
* @var \Magento\Framework\EntityManager\MetadataPool|\PHPUnit_Framework_MockObject_MockObject
2525
*/
2626
protected $metadataPoolMock;
2727

@@ -32,7 +32,7 @@ protected function setUp()
3232
$this->storeManagerMock = $this->getMockBuilder('Magento\Store\Model\StoreManagerInterface')
3333
->getMockForAbstractClass();
3434

35-
$this->metadataPoolMock = $this->getMockBuilder('Magento\Framework\Model\Entity\MetadataPool')
35+
$this->metadataPoolMock = $this->getMockBuilder('Magento\Framework\EntityManager\MetadataPool')
3636
->disableOriginalConstructor()
3737
->getMock();
3838

@@ -95,7 +95,7 @@ public function testAfterLoad($item, $storesData)
9595
$expectedResult[$storeData[$linkField]][] = $storeData['store_id'];
9696
}
9797

98-
$entityMetadataMock = $this->getMockBuilder('Magento\Framework\Model\Entity\EntityMetadata')
98+
$entityMetadataMock = $this->getMockBuilder('Magento\Framework\EntityManager\EntityMetadata')
9999
->disableOriginalConstructor()
100100
->getMock();
101101
$entityMetadataMock->expects($this->any())->method('getLinkField')->willReturn($linkField);

app/code/Magento/Cms/Test/Unit/Model/ResourceModel/Page/CollectionTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class CollectionTest extends AbstractCollectionTest
2121
protected $storeManagerMock;
2222

2323
/**
24-
* @var \Magento\Framework\Model\Entity\MetadataPool|\PHPUnit_Framework_MockObject_MockObject
24+
* @var \Magento\Framework\EntityManager\MetadataPool|\PHPUnit_Framework_MockObject_MockObject
2525
*/
2626
protected $metadataPoolMock;
2727

@@ -32,7 +32,7 @@ protected function setUp()
3232
$this->storeManagerMock = $this->getMockBuilder('Magento\Store\Model\StoreManagerInterface')
3333
->getMockForAbstractClass();
3434

35-
$this->metadataPoolMock = $this->getMockBuilder('Magento\Framework\Model\Entity\MetadataPool')
35+
$this->metadataPoolMock = $this->getMockBuilder('Magento\Framework\EntityManager\MetadataPool')
3636
->disableOriginalConstructor()
3737
->getMock();
3838

@@ -95,7 +95,7 @@ public function testAfterLoad($item, $storesData)
9595
$expectedResult[$storeData[$linkField]][] = $storeData['store_id'];
9696
}
9797

98-
$entityMetadataMock = $this->getMockBuilder('Magento\Framework\Model\Entity\EntityMetadata')
98+
$entityMetadataMock = $this->getMockBuilder('Magento\Framework\EntityManager\EntityMetadata')
9999
->disableOriginalConstructor()
100100
->getMock();
101101
$entityMetadataMock->expects($this->any())->method('getLinkField')->willReturn($linkField);

app/code/Magento/Cms/Test/Unit/Model/ResourceModel/Page/Grid/CollectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use Magento\Framework\Data\Collection\EntityFactoryInterface;
1212
use Magento\Framework\DB\Adapter\AdapterInterface;
1313
use Magento\Framework\Event\ManagerInterface;
14-
use Magento\Framework\Model\Entity\MetadataPool;
14+
use Magento\Framework\EntityManager\MetadataPool;
1515
use Magento\Framework\Model\ResourceModel\Db\AbstractDb;
1616
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
1717
use Magento\Store\Model\StoreManagerInterface;

lib/internal/Magento/Framework/Model/EntityManager.php

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)