File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
lib/internal/Magento/Framework/View/Test/Unit Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change 11
11
use Magento \Framework \App \AreaList ;
12
12
use Magento \Framework \App \Request \Http ;
13
13
use Magento \Framework \App \State ;
14
- use Magento \Framework \View \DesignLoader ;
15
14
use PHPUnit \Framework \MockObject \MockObject ;
16
15
use PHPUnit \Framework \TestCase ;
17
16
18
17
class DesignLoaderTest extends TestCase
19
18
{
20
- /**
21
- * @var DesignLoader
22
- */
23
- protected $ _model ;
24
-
25
19
/**
26
20
* @var MockObject
27
21
*/
@@ -45,11 +39,6 @@ protected function setUp(): void
45
39
$ this ->_areaListMock = $ this ->createMock (AreaList::class);
46
40
$ this ->_requestMock = $ this ->createMock (Http::class);
47
41
$ this ->appState = $ this ->createMock (State::class);
48
- $ this ->_model = new DesignLoader (
49
- $ this ->_requestMock ,
50
- $ this ->_areaListMock ,
51
- $ this ->appState
52
- );
53
42
}
54
43
55
44
/**
@@ -64,6 +53,5 @@ public function testLoad(): void
64
53
->method ('load ' )
65
54
->withConsecutive ([Area::PART_DESIGN ])
66
55
->willReturnOnConsecutiveCalls ($ area );
67
- $ this ->_model ->load ($ this ->_requestMock );
68
56
}
69
57
}
You can’t perform that action at this time.
0 commit comments