Skip to content

Commit b661d99

Browse files
committed
Merge remote-tracking branch 'origin/ACP2E-3932' into PR_2025_05_28
2 parents 2d20a69 + bec835a commit b661d99

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,11 @@
341341
<code id="pattern_1" active="true" example="12345">^[0-9]{5}$</code>
342342
</codes>
343343
</zip>
344+
<zip countryCode="IE">
345+
<codes>
346+
<code id="pattern_1" active="true" example="A65 F4E2">^([AC-FHKNPRTV-Y]{1}[0-9]{2}|D6W)[ ]?[0-9AC-FHKNPRTV-Y]{4}$</code>
347+
</codes>
348+
</zip>
344349
<zip countryCode="IL">
345350
<codes>
346351
<code id="pattern_1" active="true" example="6687865">^[0-9]{7}$</code>

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2015 Adobe
4+
* All Rights Reserved.
55
*/
66
namespace Magento\Directory\Model\Country\Postcode;
77

@@ -169,6 +169,8 @@ public static function getPostcodesDataProvider()
169169
['countryId' => 'HU', 'validPostcode' => '1234'],
170170
['countryId' => 'IC', 'validPostcode' => '12345'],
171171
['countryId' => 'ID', 'validPostcode' => '12345'],
172+
['countryId' => 'IR', 'validPostcode' => 'A65 F4E2'],
173+
['countryId' => 'IR', 'validPostcode' => 'D02 X285'],
172174
['countryId' => 'IL', 'validPostcode' => '1234567'],
173175
['countryId' => 'IM', 'validPostcode' => 'IM1 1AD'],
174176
['countryId' => 'IN', 'validPostcode' => '123456'],

0 commit comments

Comments
 (0)