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
2929 *
3030 * @return SecurityCookie
3131 * @deprecated 100.1.0
32+ * @see we don't recommend this approach anymore
3233 */
3334 private function getSecurityCookie ()
3435 {
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ public function testExecuteValidationFailure()
151151 $ this ->controller ->expects ($ this ->once ())
152152 ->method ('redirectToEdit ' )
153153 ->with ($ this ->userModelMock , $ postData )
154- ->willReturnCallback (function ($ model , $ data ) {
154+ ->willReturnCallback (function ($ _ , $ data ) {
155155 $ this ->sessionMock ->setUserData ($ data );
156156 });
157157 $ this ->controller ->execute ();
You can’t perform that action at this time.
0 commit comments