File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
app/code/Magento/Email/Test/Unit/Model Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 16
16
*/
17
17
class AbstractTemplateTest extends \PHPUnit_Framework_TestCase
18
18
{
19
- /**
20
- * @var \Magento\Framework\Model\Context|\PHPUnit_Framework_MockObject_MockObject
21
- */
22
- private $ context ;
23
-
24
19
/**
25
20
* @var \Magento\Framework\View\DesignInterface|\PHPUnit_Framework_MockObject_MockObject
26
21
*/
@@ -78,9 +73,6 @@ class AbstractTemplateTest extends \PHPUnit_Framework_TestCase
78
73
79
74
public function setUp ()
80
75
{
81
- $ this ->context = $ this ->getMockBuilder ('Magento\Framework\Model\Context ' )
82
- ->disableOriginalConstructor ()
83
- ->getMock ();
84
76
$ this ->design = $ this ->getMockBuilder ('Magento\Framework\View\DesignInterface ' )
85
77
->disableOriginalConstructor ()
86
78
->getMock ();
@@ -143,7 +135,6 @@ protected function getModelMock(array $mockedMethods = [])
143
135
$ helper ->getConstructArguments (
144
136
'Magento\Email\Model\AbstractTemplate ' ,
145
137
[
146
- 'context ' => $ this ->context ,
147
138
'design ' => $ this ->design ,
148
139
'registry ' => $ this ->registry ,
149
140
'appEmulation ' => $ this ->appEmulation ,
You can’t perform that action at this time.
0 commit comments