Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 7d32eef

Browse files
author
Dmytro Vilchynskyi
committed
MAGETWO-84702: [SE Dev] Error Messages edits, part 1 (966 of 1166 total)
- failed tests are fixed
1 parent f4bbd66 commit 7d32eef

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dev/tests/api-functional/testsuite/Magento/Customer/Api/AccountManagementTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,11 +577,11 @@ public function testValidateCustomerData()
577577
$this->assertFalse($validationResponse['valid']);
578578

579579
$this->assertEquals(
580-
'The "firstname" attribute value is empty. Set the attribute and try again.',
580+
'The "First Name" attribute value is empty. Set the attribute and try again.',
581581
$validationResponse['messages'][0]
582582
);
583583
$this->assertEquals(
584-
'The "lastname" attribute value is empty. Set the attribute and try again.',
584+
'The "Last Name" attribute value is empty. Set the attribute and try again.',
585585
$validationResponse['messages'][1]
586586
);
587587
}

dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/CategoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ public function testSaveActionCategoryWithDangerRequest()
339339
);
340340
$this->dispatch('backend/catalog/category/save');
341341
$this->assertSessionMessages(
342-
$this->equalTo(['The "name" attribute value is empty. Set the attribute and try again.']),
342+
$this->equalTo(['The "Name" attribute value is empty. Set the attribute and try again.']),
343343
\Magento\Framework\Message\MessageInterface::TYPE_ERROR
344344
);
345345
}

0 commit comments

Comments
 (0)