Skip to content

Commit

Permalink
ENGCOM-8220: Update zip_codes.xml #29972
Browse files Browse the repository at this point in the history
 - Merge Pull Request #29972 from marcostrama/magento2:patch-1
 - Merged commits:
   1. 1472740
   2. 16b8d6a
   3. 65b5ee4
   4. c336ccc
   5. 2f94846
  • Loading branch information
magento-engcom-team committed Sep 22, 2020
2 parents 390505a + 2f94846 commit 573d5ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/code/Magento/Directory/etc/zip_codes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
</zip>
<zip countryCode="BR">
<codes>
<code id="pattern_1" active="true" example="12345">^[0-9]{5}$</code>
<code id="pattern_1" active="true" example="12345678">^[0-9]{8}$</code>
<code id="pattern_2" active="true" example="12345-678">^[0-9]{5}\-[0-9]{3}$</code>
</codes>
</zip>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function getPostcodesDataProvider()
['countryId' => 'BY', 'postcode' => '123456'],
['countryId' => 'BE', 'postcode' => '1234'],
['countryId' => 'BA', 'postcode' => '12345'],
['countryId' => 'BR', 'postcode' => '12345'],
['countryId' => 'BR', 'postcode' => '12345678'],
['countryId' => 'BR', 'postcode' => '12345-678'],
['countryId' => 'BN', 'postcode' => 'PS1234'],
['countryId' => 'BG', 'postcode' => '1234'],
Expand Down

0 comments on commit 573d5ca

Please sign in to comment.