We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75d305f commit c489934Copy full SHA for c489934
app/code/Magento/User/Test/Unit/Controller/Adminhtml/User/SaveTest.php
@@ -151,7 +151,8 @@ public function testExecuteValidationFailure()
151
$this->controller->expects($this->once())
152
->method('redirectToEdit')
153
->with($this->userModelMock, $postData)
154
- ->willReturnCallback(function ($_, $data) {
+ ->willReturnCallback(function ($model, $data) {
155
+ $model->getId();
156
$this->sessionMock->setUserData($data);
157
});
158
$this->controller->execute();
0 commit comments