Skip to content

Commit a096270

Browse files
committed
conflict resolved
1 parent 179a72f commit a096270

File tree

1 file changed

+2
-7
lines changed
  • app/code/Magento/Catalog/Test/Unit/Ui/DataProvider/Product/Form/Modifier

1 file changed

+2
-7
lines changed

app/code/Magento/Catalog/Test/Unit/Ui/DataProvider/Product/Form/Modifier/CategoriesTest.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,16 @@
1010
use Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Categories;
1111
use Magento\Catalog\Model\ResourceModel\Category\CollectionFactory as CategoryCollectionFactory;
1212
use Magento\Catalog\Model\ResourceModel\Category\Collection as CategoryCollection;
13-
use Magento\Catalog\Model\ResourceModel\Category\CollectionFactory as CategoryCollectionFactory;
14-
use Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Categories;
1513
use Magento\Framework\AuthorizationInterface;
1614
use Magento\Framework\DB\Helper as DbHelper;
1715
use Magento\Framework\UrlInterface;
1816
use Magento\Store\Model\Store;
19-
use Magento\Framework\AuthorizationInterface;
2017
use Magento\Backend\Model\Auth\Session;
2118
use Magento\Authorization\Model\Role;
2219
use Magento\User\Model\User;
20+
use PHPUnit\Framework\MockObject\MockObject;
2321

2422
/**
25-
* Class CategoriesTest
26-
*
2723
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2824
*/
2925
class CategoriesTest extends AbstractModifierTest
@@ -59,7 +55,7 @@ class CategoriesTest extends AbstractModifierTest
5955
private $authorizationMock;
6056

6157
/**
62-
* @var \Magento\Backend\Model\Auth\Session|\PHPUnit\Framework\MockObject\MockObject
58+
* @var Session|MockObject
6359
*/
6460
private $sessionMock;
6561

@@ -88,7 +84,6 @@ protected function setUp(): void
8884
->setMethods(['getUser'])
8985
->disableOriginalConstructor()
9086
->getMock();
91-
9287
$this->categoryCollectionFactoryMock->expects($this->any())
9388
->method('create')
9489
->willReturn($this->categoryCollectionMock);

0 commit comments

Comments
 (0)