Skip to content

Commit 0ef05b1

Browse files
author
Stanislav Idolov
authored
ENGCOM-2073: Update Israeli ZIP code mask: 7 digits instead of 5 #16250
2 parents 847caf1 + 54ba409 commit 0ef05b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@
196196
</zip>
197197
<zip countryCode="IL">
198198
<codes>
199-
<code id="pattern_1" active="true" example="12345">^[0-9]{5}$</code>
199+
<code id="pattern_1" active="true" example="6687865">^[0-9]{7}$</code>
200200
</codes>
201201
</zip>
202202
<zip countryCode="IT">

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function getPostcodesDataProvider()
130130
['countryId' => 'IS', 'postcode' => '123'],
131131
['countryId' => 'IN', 'postcode' => '123456'],
132132
['countryId' => 'ID', 'postcode' => '12345'],
133-
['countryId' => 'IL', 'postcode' => '12345'],
133+
['countryId' => 'IL', 'postcode' => '1234567'],
134134
['countryId' => 'IT', 'postcode' => '12345'],
135135
['countryId' => 'JP', 'postcode' => '123-4567'],
136136
['countryId' => 'JP', 'postcode' => '1234567'],

0 commit comments

Comments
 (0)