Skip to content

Commit e05483d

Browse files
author
Stanislav Idolov
committed
MAGETWO-59258: [Github] Override module-directory/etc/zip_codes.xml only the last code of a country gets included magento#6694
1 parent 9936cb7 commit e05483d

File tree

1 file changed

+8
-2
lines changed
  • dev/tests/integration/_files/Magento/TestModuleDirectoryZipCodes/etc

1 file changed

+8
-2
lines changed

dev/tests/integration/_files/Magento/TestModuleDirectoryZipCodes/etc/zip_codes.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1-
<?xml version="1.0"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
/**
4+
* Copyright © 2016 Magento. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
28
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Directory:etc/zip_codes.xsd">
39
<zip countryCode="NL">
410
<codes>
5-
<code id="pattern_1" active="true" example="test1">^[0-9]{4}[a-zA-Z]{2}$</code>
11+
<code id="pattern_1" active="true" example="test1">^[0-9]{4}\s[a-zA-Z]{2}$</code>
612
<code id="pattern_2" active="true" example="test2">^[0-5]{4}[a-z]{2}$</code>
713
</codes>
814
</zip>

0 commit comments

Comments
 (0)