Skip to content

Commit 1feefb1

Browse files
ENGCOM-8220: Update zip_codes.xml #29972
2 parents 84bceaa + 573d5ca commit 1feefb1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Directory/etc/zip_codes.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
</zip>
6565
<zip countryCode="BR">
6666
<codes>
67-
<code id="pattern_1" active="true" example="12345">^[0-9]{5}$</code>
67+
<code id="pattern_1" active="true" example="12345678">^[0-9]{8}$</code>
6868
<code id="pattern_2" active="true" example="12345-678">^[0-9]{5}\-[0-9]{3}$</code>
6969
</codes>
7070
</zip>

dev/tests/integration/testsuite/Magento/Directory/Model/Country/Postcode/ValidatorTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function getPostcodesDataProvider()
104104
['countryId' => 'BY', 'postcode' => '123456'],
105105
['countryId' => 'BE', 'postcode' => '1234'],
106106
['countryId' => 'BA', 'postcode' => '12345'],
107-
['countryId' => 'BR', 'postcode' => '12345'],
107+
['countryId' => 'BR', 'postcode' => '12345678'],
108108
['countryId' => 'BR', 'postcode' => '12345-678'],
109109
['countryId' => 'BN', 'postcode' => 'PS1234'],
110110
['countryId' => 'BG', 'postcode' => '1234'],

0 commit comments

Comments
 (0)