File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
app/code/Magento/Customer/Test/Unit/Controller/Address Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,6 @@ class DeleteTest extends \PHPUnit_Framework_TestCase
16
16
/** @var Delete */
17
17
protected $ model ;
18
18
19
- /** @var \Magento\Framework\App\Action\Context|\PHPUnit_Framework_MockObject_MockObject */
20
- protected $ context ;
21
-
22
19
/** @var \Magento\Customer\Model\Session|\PHPUnit_Framework_MockObject_MockObject */
23
20
protected $ sessionMock ;
24
21
@@ -51,9 +48,6 @@ protected function setUp()
51
48
$ this ->validatorMock = $ this ->getMockBuilder (\Magento \Framework \Data \Form \FormKey \Validator::class)
52
49
->disableOriginalConstructor ()
53
50
->getMock ();
54
- $ formFactoryMock = $ this ->getMockBuilder (\Magento \Customer \Model \Metadata \FormFactory::class)
55
- ->disableOriginalConstructor ()
56
- ->getMock ();
57
51
$ this ->addressRepositoryMock = $ this ->getMockBuilder (\Magento \Customer \Api \AddressRepositoryInterface::class)
58
52
->getMockForAbstractClass ();
59
53
$ this ->request = $ this ->getMockBuilder (\Magento \Framework \App \RequestInterface::class)
@@ -81,7 +75,6 @@ protected function setUp()
81
75
'messageManager ' => $ this ->messageManager ,
82
76
'customerSession ' => $ this ->sessionMock ,
83
77
'formKeyValidator ' => $ this ->validatorMock ,
84
- 'formFactory ' => $ formFactoryMock ,
85
78
'addressRepository ' => $ this ->addressRepositoryMock
86
79
]
87
80
);
You can’t perform that action at this time.
0 commit comments