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 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 >
Original file line number Diff line number Diff line change 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 */
66namespace 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 ' ],
You can’t perform that action at this time.
0 commit comments