diff --git a/app/code/Magento/Catalog/Test/Unit/Model/ProductOptions/Config/_files/invalidProductOptionsXmlArray.php b/app/code/Magento/Catalog/Test/Unit/Model/ProductOptions/Config/_files/invalidProductOptionsXmlArray.php index b6f5fdfef134..c5dd592176c6 100644 --- a/app/code/Magento/Catalog/Test/Unit/Model/ProductOptions/Config/_files/invalidProductOptionsXmlArray.php +++ b/app/code/Magento/Catalog/Test/Unit/Model/ProductOptions/Config/_files/invalidProductOptionsXmlArray.php @@ -44,7 +44,8 @@ '', [ - "Element 'option', attribute 'renderer': '123true' is not a valid value of the atomic type 'modelName'.\n" . + "Element 'option', attribute 'renderer': [facet 'pattern'] The value '123true' is not accepted " . + "by the pattern '([\\\]?[a-zA-Z_][a-zA-Z0-9_]*)+'.\n" . "Line: 1\nThe xml was: \n0:\n1:\n2:\n" ], diff --git a/app/code/Magento/Catalog/Test/Unit/Model/ProductTypes/Config/_files/invalidProductTypesXmlArray.php b/app/code/Magento/Catalog/Test/Unit/Model/ProductTypes/Config/_files/invalidProductTypesXmlArray.php index 88d950104bfb..9bc8f5451b37 100644 --- a/app/code/Magento/Catalog/Test/Unit/Model/ProductTypes/Config/_files/invalidProductTypesXmlArray.php +++ b/app/code/Magento/Catalog/Test/Unit/Model/ProductTypes/Config/_files/invalidProductTypesXmlArray.php @@ -32,7 +32,8 @@ 'type_modelinstance_invalid_value' => [ '', [ - "Element 'type', attribute 'modelInstance': '123' is not a valid value of the atomic type 'modelName'.\n" . + "Element 'type', attribute 'modelInstance': [facet 'pattern'] The value '123' is not " . + "accepted by the pattern '([\\\]?[a-zA-Z_][a-zA-Z0-9_]*)+'.\n" . "Line: 1\nThe xml was: \n0:\n1:\n2:\n" ], @@ -71,16 +72,18 @@ 'type_pricemodel_instance_invalid_value' => [ '', [ - "Element 'priceModel', attribute 'instance': '123123' is not a valid value of the atomic " . - "type 'modelName'.\nLine: 1\nThe xml was: \n0:\n1:\n1:\n2:\n" ], ], 'type_indexermodel_instance_invalid_value' => [ '', [ - "Element 'indexerModel', attribute 'instance': '123' is not a valid value of the atomic type " . - "'modelName'.\nLine: 1\nThe xml was: \n0:\n1:\n1:\n2:\n" ], ], @@ -102,8 +105,9 @@ 'stockindexermodel_instance_invalid_value' => [ '', [ - "Element 'stockIndexerModel', attribute 'instance': '1234' is not a valid value of the atomic type " . - "'modelName'.\nLine: 1\nThe xml was: \n0:\n1:\n1:\n2:\n" ], ], diff --git a/app/code/Magento/Config/Test/Unit/Model/Config/_files/invalidSystemXmlArray.php b/app/code/Magento/Config/Test/Unit/Model/Config/_files/invalidSystemXmlArray.php index 82e25361b0e5..eef006ea054d 100644 --- a/app/code/Magento/Config/Test/Unit/Model/Config/_files/invalidSystemXmlArray.php +++ b/app/code/Magento/Config/Test/Unit/Model/Config/_files/invalidSystemXmlArray.php @@ -90,7 +90,8 @@ "1:
co
\n2:\n", - "Element 'config_path': 'co' is not a valid value of the atomic type 'typeConfigPath'.\nLine: 1\n" . + "Element 'config_path': [facet 'minLength'] The value has a length of '2'; " . + "this underruns the allowed minimum length of '5'.\nLine: 1\n" . "The xml was: \n0:\n1:
co" . "
\n2:\n" @@ -107,7 +108,8 @@ "1:
Som" . "
\n2:\n", - "Element 'if_module_enabled': 'Som' is not a valid value of the atomic type 'typeModule'.\n" . + "Element 'if_module_enabled': [facet 'minLength'] The value has a length of '3'; " . + "this underruns the allowed minimum length of '5'.\n" . "Line: 1\nThe xml was: \n0:\n1:
" . "Som" . "" . diff --git a/app/code/Magento/Directory/Test/Unit/Model/CurrencyTest.php b/app/code/Magento/Directory/Test/Unit/Model/CurrencyTest.php index 2125fb9bd5be..a38842992dc0 100644 --- a/app/code/Magento/Directory/Test/Unit/Model/CurrencyTest.php +++ b/app/code/Magento/Directory/Test/Unit/Model/CurrencyTest.php @@ -138,16 +138,12 @@ function (array $args) { */ public function getOutputFormatDataProvider(): array { - $ar_DZ = "\u{062C}.\u{0645}.\u{200F}\u{00A0}%s"; - if (version_compare(PHP_VERSION, '8.3', '>=')) { - $ar_DZ = "%s\u{00A0}\u{062C}.\u{0645}.\u{200F}"; - } return [ 'en_US:USD' => ['en_US', 'USD', '$%s'], 'en_US:PLN' => ['en_US', 'PLN', "PLN\u{00A0}%s"], 'en_US:PKR' => ['en_US', 'PKR', "PKR\u{00A0}%s"], 'af_ZA:VND' => ['af_ZA', 'VND', "\u{20AB}%s"], - 'ar_DZ:EGP' => ['ar_DZ', 'EGP', $ar_DZ], + 'ar_DZ:EGP' => ['ar_DZ', 'EGP', "%s\u{00A0}\u{062C}.\u{0645}.\u{200F}"], 'ar_SA:USD' => ['ar_SA', 'USD', "%s\u{00A0}US$"], 'ar_SA:LBP' => ['ar_SA', 'LBP', "%s\u{00A0}\u{0644}.\u{0644}.\u{200F}"], 'fa_IR:USD' => ['fa_IR', 'USD', "\u{200E}$%s"], diff --git a/app/code/Magento/Email/Test/Unit/Model/Template/Config/XsdTest.php b/app/code/Magento/Email/Test/Unit/Model/Template/Config/XsdTest.php index 4f025ae10627..12df47759892 100644 --- a/app/code/Magento/Email/Test/Unit/Model/Template/Config/XsdTest.php +++ b/app/code/Magento/Email/Test/Unit/Model/Template/Config/XsdTest.php @@ -143,8 +143,9 @@ public function mergedXmlDataProvider() 'node "template" with invalid attribute "area"' => [ '