diff --git a/app/code/Magento/Customer/etc/config.xml b/app/code/Magento/Customer/etc/config.xml index 33ea26f8de422589cc97501b0bbe53fa0f056f44..ccee6914e4ea094dc4a4b664e41ee22ea7457d2c 100644 --- a/app/code/Magento/Customer/etc/config.xml +++ b/app/code/Magento/Customer/etc/config.xml @@ -86,8 +86,7 @@ T: {{var telephone}} {{depend street2}}{{var street2}}|{{/depend}} {{depend street3}}{{var street3}}|{{/depend}} {{depend street4}}{{var street4}}|{{/depend}} -{{if city}}{{var city}}, {{/if}} -{{if region}}{{var region}}, {{/if}}{{if postcode}}{{var postcode}}{{/if}}| +{{if city}}{{var city}}, {{/if}}{{if region}}{{var region}}, {{/if}}{{if postcode}}{{var postcode}}{{/if}}| {{var country}}| {{depend telephone}}T: {{var telephone}}|{{/depend}} {{depend fax}}F: {{var fax}}|{{/depend}}| diff --git a/dev/tests/integration/testsuite/Magento/Customer/Block/Address/Renderer/DefaultRendererTest.php b/dev/tests/integration/testsuite/Magento/Customer/Block/Address/Renderer/DefaultRendererTest.php index cdc31a9199b6a49fbe92ff19c0298c18c64c15e5..14e4829ca9683b0a3ec875afa2aeeaf1e9d6c274 100644 --- a/dev/tests/integration/testsuite/Magento/Customer/Block/Address/Renderer/DefaultRendererTest.php +++ b/dev/tests/integration/testsuite/Magento/Customer/Block/Address/Renderer/DefaultRendererTest.php @@ -56,7 +56,7 @@ class DefaultRendererTest extends \PHPUnit_Framework_TestCase [ $addressAttributes, AttributeDataFactory::OUTPUT_FORMAT_PDF, - "John Smith|\n\nGreen str, 67\n\n\n\n\nCityM,|\nAlabama, 75477|\nUnited States|\nT: 3468676|\n|\n|" + "John Smith|\n\nGreen str, 67|\n\n\n\nCityM, Alabama, 75477|\nUnited States|\nT: 3468676|\n|\n|" ], [ $addressAttributes, @@ -112,7 +112,7 @@ United States<br/>\nT: <a href=\"tel:3468676\">3468676</a>\n\n", [ $address, AttributeDataFactory::OUTPUT_FORMAT_PDF, - "John Smith|\n\nGreen str, 67\n\n\n\n\nCityM,|\nAlabama, 75477| + "John Smith|\n\nGreen str, 67|\n\n\n\nCityM, Alabama, 75477| United States|\nT: 3468676|\n|\n|" ], [