File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Controller/Adminhtml/User
Test/Unit/Controller/Adminhtml/User Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ class Save extends \Magento\User\Controller\Adminhtml\User implements HttpPostAc
29
29
*
30
30
* @return SecurityCookie
31
31
* @deprecated 100.1.0
32
+ * @see we don't recommend this approach anymore
32
33
*/
33
34
private function getSecurityCookie ()
34
35
{
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ public function testExecuteValidationFailure()
151
151
$ this ->controller ->expects ($ this ->once ())
152
152
->method ('redirectToEdit ' )
153
153
->with ($ this ->userModelMock , $ postData )
154
- ->willReturnCallback (function ($ model , $ data ) {
154
+ ->willReturnCallback (function ($ _ , $ data ) {
155
155
$ this ->sessionMock ->setUserData ($ data );
156
156
});
157
157
$ this ->controller ->execute ();
You can’t perform that action at this time.
0 commit comments