Skip to content

Commit ed3370f

Browse files
committed
Merge remote-tracking branch 'origin/AC-10621' into AC-10821
2 parents c7fbeae + 2d7cee1 commit ed3370f

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

app/code/Magento/Catalog/Test/Unit/Controller/Adminhtml/Category/DeleteTest.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
use Magento\Framework\App\RequestInterface;
2121
use Magento\Framework\App\ResponseInterface;
2222
use Magento\Framework\Event\ManagerInterface;
23-
use Magento\Framework\Registry;
2423
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager as ObjectManagerHelper;
2524
use Magento\Store\Model\StoreManagerInterface;
2625
use PHPUnit\Framework\MockObject\MockObject;
@@ -56,10 +55,6 @@ protected function setUp(): void
5655
StoreManagerInterface::class,
5756
$this->createMock(StoreManagerInterface::class)
5857
],
59-
[
60-
Registry::class,
61-
$this->createMock(Registry::class)
62-
],
6358
[
6459
Config::class,
6560
$this->createMock(Config::class)

app/code/Magento/Catalog/Test/Unit/Controller/Adminhtml/Category/EditTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
use Magento\Framework\Controller\Result\JsonFactory;
1818
use Magento\Framework\Event\ManagerInterface;
1919
use Magento\Framework\ObjectManagerInterface;
20+
use Magento\Framework\Registry;
2021
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
2122
use Magento\Framework\View\LayoutFactory;
2223
use Magento\Framework\View\Page\Title;
@@ -26,7 +27,6 @@
2627
use PHPUnit\Framework\MockObject\MockObject;
2728
use PHPUnit\Framework\TestCase;
2829
use Magento\Framework\Stdlib\DateTime\Filter\Date;
29-
use Magento\Framework\Registry;
3030
use Magento\Cms\Model\Wysiwyg\Config;
3131

3232
/**
@@ -124,14 +124,14 @@ protected function setUp(): void
124124
Date::class,
125125
$this->createMock(Date::class)
126126
],
127-
[
128-
StoreManagerInterface::class,
129-
$this->createMock(StoreManagerInterface::class)
130-
],
131127
[
132128
Registry::class,
133129
$this->createMock(Registry::class)
134130
],
131+
[
132+
StoreManagerInterface::class,
133+
$this->createMock(StoreManagerInterface::class)
134+
],
135135
[
136136
Config::class,
137137
$this->createMock(Config::class)

0 commit comments

Comments
 (0)