Skip to content

Commit 15b0842

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 #6694
1 parent 7d531df commit 15b0842

File tree

1 file changed

+1
-1
lines changed
  • dev/tests/integration/testsuite/Magento/Directory/Model/Country/Postcode/Config

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function testRead()
2929
$this->assertArrayHasKey('pattern_2', $result['NL']);
3030

3131
$this->assertEquals('test1', $result['NL']['pattern_1']['example']);
32-
$this->assertEquals('^[0-9]{4}[a-zA-Z]{2}$', $result['NL']['pattern_1']['pattern']);
32+
$this->assertEquals('^[0-9]{4}\s[a-zA-Z]{2}$', $result['NL']['pattern_1']['pattern']);
3333

3434
$this->assertEquals('test2', $result['NL']['pattern_2']['example']);
3535
$this->assertEquals('^[0-5]{4}[a-z]{2}$', $result['NL']['pattern_2']['pattern']);

0 commit comments

Comments
 (0)