@@ -17,13 +17,13 @@ class DeleteTest extends \Magento\Integration\Test\Unit\Controller\Adminhtml\Int
17
17
/**
18
18
* @var \Magento\Integration\Controller\Adminhtml\Integration\Delete
19
19
*/
20
- protected $ integrationContr ;
20
+ protected $ integrationController ;
21
21
22
22
protected function setUp ()
23
23
{
24
24
parent ::setUp ();
25
25
26
- $ this ->integrationContr = $ this ->_createIntegrationController ('Delete ' );
26
+ $ this ->integrationController = $ this ->_createIntegrationController ('Delete ' );
27
27
28
28
$ resultRedirect = $ this ->getMockBuilder ('Magento\Backend\Model\View\Result\Redirect ' )
29
29
->disableOriginalConstructor ()
@@ -59,7 +59,7 @@ public function testDeleteAction()
59
59
->method ('addSuccess ' )
60
60
->with (__ ('The integration \'%1 \' has been deleted. ' , $ intData [Info::DATA_NAME ]));
61
61
62
- $ this ->integrationContr ->execute ();
62
+ $ this ->integrationController ->execute ();
63
63
}
64
64
65
65
public function testDeleteActionWithConsumer ()
@@ -88,7 +88,7 @@ public function testDeleteActionWithConsumer()
88
88
->method ('addSuccess ' )
89
89
->with (__ ('The integration \'%1 \' has been deleted. ' , $ intData [Info::DATA_NAME ]));
90
90
91
- $ this ->integrationContr ->execute ();
91
+ $ this ->integrationController ->execute ();
92
92
}
93
93
94
94
public function testDeleteActionConfigSetUp ()
@@ -116,7 +116,7 @@ public function testDeleteActionConfigSetUp()
116
116
// verify success message
117
117
$ this ->_messageManager ->expects ($ this ->never ())->method ('addSuccess ' );
118
118
119
- $ this ->integrationContr ->execute ();
119
+ $ this ->integrationController ->execute ();
120
120
}
121
121
122
122
public function testDeleteActionMissingId ()
@@ -130,7 +130,7 @@ public function testDeleteActionMissingId()
130
130
->method ('addError ' )
131
131
->with (__ ('Integration ID is not specified or is invalid. ' ));
132
132
133
- $ this ->integrationContr ->execute ();
133
+ $ this ->integrationController ->execute ();
134
134
}
135
135
136
136
/**
@@ -156,7 +156,7 @@ public function testDeleteActionForServiceIntegrationException()
156
156
->willThrowException ($ invalidIdException );
157
157
$ this ->_messageManager ->expects ($ this ->never ())->method ('addError ' );
158
158
159
- $ this ->integrationContr ->execute ();
159
+ $ this ->integrationController ->execute ();
160
160
}
161
161
162
162
/**
@@ -182,6 +182,6 @@ public function testDeleteActionForServiceGenericException()
182
182
->willThrowException ($ invalidIdException );
183
183
$ this ->_messageManager ->expects ($ this ->never ())->method ('addError ' );
184
184
185
- $ this ->integrationContr ->execute ();
185
+ $ this ->integrationController ->execute ();
186
186
}
187
187
}
0 commit comments