Skip to content

Commit e7e8179

Browse files
committed
MC-33357: [Magento Cloud] - Saving Address via Admin Missing Validation Error Messages
1 parent f442fa9 commit e7e8179

File tree

2 files changed

+2
-2
lines changed
  • app/code/Magento/Customer

2 files changed

+2
-2
lines changed

app/code/Magento/Customer/Controller/Adminhtml/Address/Save.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function execute(): Json
161161
$resultJson = $this->resultJsonFactory->create();
162162
$resultJson->setData(
163163
[
164-
'message' => $message,
164+
'messages' => $message,
165165
'error' => $error,
166166
'data' => [
167167
'entity_id' => $addressId

app/code/Magento/Customer/Test/Unit/Controller/Address/SaveTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public function testExecute(): void
200200
->method('setData')
201201
->with(
202202
[
203-
'message' => __('Customer address has been updated.'),
203+
'messages' => __('Customer address has been updated.'),
204204
'error' => false,
205205
'data' => [
206206
'entity_id' => $addressId

0 commit comments

Comments
 (0)