File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed
app/code/Magento/Catalog/Test/Unit/Controller/Adminhtml/Category Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 20
20
use Magento \Framework \App \RequestInterface ;
21
21
use Magento \Framework \App \ResponseInterface ;
22
22
use Magento \Framework \Event \ManagerInterface ;
23
- use Magento \Framework \Registry ;
24
23
use Magento \Framework \TestFramework \Unit \Helper \ObjectManager as ObjectManagerHelper ;
25
24
use Magento \Store \Model \StoreManagerInterface ;
26
25
use PHPUnit \Framework \MockObject \MockObject ;
@@ -56,10 +55,6 @@ protected function setUp(): void
56
55
StoreManagerInterface::class,
57
56
$ this ->createMock (StoreManagerInterface::class)
58
57
],
59
- [
60
- Registry::class,
61
- $ this ->createMock (Registry::class)
62
- ],
63
58
[
64
59
Config::class,
65
60
$ this ->createMock (Config::class)
Original file line number Diff line number Diff line change 17
17
use Magento \Framework \Controller \Result \JsonFactory ;
18
18
use Magento \Framework \Event \ManagerInterface ;
19
19
use Magento \Framework \ObjectManagerInterface ;
20
+ use Magento \Framework \Registry ;
20
21
use Magento \Framework \TestFramework \Unit \Helper \ObjectManager ;
21
22
use Magento \Framework \View \LayoutFactory ;
22
23
use Magento \Framework \View \Page \Title ;
26
27
use PHPUnit \Framework \MockObject \MockObject ;
27
28
use PHPUnit \Framework \TestCase ;
28
29
use Magento \Framework \Stdlib \DateTime \Filter \Date ;
29
- use Magento \Framework \Registry ;
30
30
use Magento \Cms \Model \Wysiwyg \Config ;
31
31
32
32
/**
@@ -124,14 +124,14 @@ protected function setUp(): void
124
124
Date::class,
125
125
$ this ->createMock (Date::class)
126
126
],
127
- [
128
- StoreManagerInterface::class,
129
- $ this ->createMock (StoreManagerInterface::class)
130
- ],
131
127
[
132
128
Registry::class,
133
129
$ this ->createMock (Registry::class)
134
130
],
131
+ [
132
+ StoreManagerInterface::class,
133
+ $ this ->createMock (StoreManagerInterface::class)
134
+ ],
135
135
[
136
136
Config::class,
137
137
$ this ->createMock (Config::class)
You can’t perform that action at this time.
0 commit comments