File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
app/code/Magento/Directory/etc
dev/tests/integration/testsuite/Magento/Directory/Model/Country/Postcode Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 341
341
<code id =" pattern_1" active =" true" example =" 12345" >^[0-9]{5}$</code >
342
342
</codes >
343
343
</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 >
344
349
<zip countryCode =" IL" >
345
350
<codes >
346
351
<code id =" pattern_1" active =" true" example =" 6687865" >^[0-9]{7}$</code >
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2015 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
namespace Magento \Directory \Model \Country \Postcode ;
7
7
@@ -169,6 +169,8 @@ public static function getPostcodesDataProvider()
169
169
['countryId ' => 'HU ' , 'validPostcode ' => '1234 ' ],
170
170
['countryId ' => 'IC ' , 'validPostcode ' => '12345 ' ],
171
171
['countryId ' => 'ID ' , 'validPostcode ' => '12345 ' ],
172
+ ['countryId ' => 'IR ' , 'validPostcode ' => 'A65 F4E2 ' ],
173
+ ['countryId ' => 'IR ' , 'validPostcode ' => 'D02 X285 ' ],
172
174
['countryId ' => 'IL ' , 'validPostcode ' => '1234567 ' ],
173
175
['countryId ' => 'IM ' , 'validPostcode ' => 'IM1 1AD ' ],
174
176
['countryId ' => 'IN ' , 'validPostcode ' => '123456 ' ],
You can’t perform that action at this time.
0 commit comments