Skip to content

Commit 8dfc87c

Browse files
author
Sergey Shvets
committed
MAGETWO-86239: Customer Address attribute value length is still validated when min/max length fields are not displayed at the backend
1 parent c7cce43 commit 8dfc87c

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -717,12 +717,12 @@ public function testValidateCustomerWithAddressFailure()
717717

718718
$this->assertContains('{"error":true,"messages":', $body);
719719
$this->assertContains('\"First Name\" is a required value', $body);
720-
$this->assertContains('\"First Name\" length must be equal or greater than 1 characters', $body);
721720
$this->assertContains('\"Last Name\" is a required value.', $body);
722-
$this->assertContains('\"Last Name\" length must be equal or greater than 1 characters.', $body);
723721
$this->assertContains('\"Country\" is a required value.', $body);
724722
$this->assertContains('\"Phone Number\" is a required value.', $body);
725-
$this->assertContains('\"Phone Number\" length must be equal or greater than 1 characters.', $body);
723+
// $this->assertContains('\"Last Name\" length must be equal or greater than 1 characters.', $body);
724+
// $this->assertContains('\"First Name\" length must be equal or greater than 1 characters', $body);
725+
// $this->assertContains('\"Phone Number\" length must be equal or greater than 1 characters.', $body);
726726
}
727727

728728
/**

0 commit comments

Comments
 (0)