Skip to content

Commit 1e51099

Browse files
author
okarpenko
committed
MAGETWO-37818: Customer invalid email message is not displayed
1 parent b4d601b commit 1e51099

File tree

1 file changed

+1
-1
lines changed
  • dev/tests/integration/testsuite/Magento/Customer/Controller/Adminhtml

1 file changed

+1
-1
lines changed

dev/tests/integration/testsuite/Magento/Customer/Controller/Adminhtml/IndexTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ public function testValidateCustomerWithAddressFailure()
981981
$this->dispatch('backend/customer/index/validate');
982982
$body = $this->getResponse()->getBody();
983983

984-
$this->assertContains('{"error":1,"html_message":', $body);
984+
$this->assertContains('{"error":true,"messages":', $body);
985985
$this->assertContains('Please correct this email address: \"*\".', $body);
986986
$this->assertContains('\"First Name\" is a required value.', $body);
987987
$this->assertContains('\"Last Name\" is a required value.', $body);

0 commit comments

Comments
 (0)