Skip to content

Commit c489934

Browse files
committed
ACP2E-3657: Weak Password Management
1 parent 75d305f commit c489934

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/User/Test/Unit/Controller/Adminhtml/User

1 file changed

+2
-1
lines changed

app/code/Magento/User/Test/Unit/Controller/Adminhtml/User/SaveTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ public function testExecuteValidationFailure()
151151
$this->controller->expects($this->once())
152152
->method('redirectToEdit')
153153
->with($this->userModelMock, $postData)
154-
->willReturnCallback(function ($_, $data) {
154+
->willReturnCallback(function ($model, $data) {
155+
$model->getId();
155156
$this->sessionMock->setUserData($data);
156157
});
157158
$this->controller->execute();

0 commit comments

Comments
 (0)