diff --git a/app/code/Magento/Sales/Test/Unit/Model/Order/Pdf/Config/XsdTest.php b/app/code/Magento/Sales/Test/Unit/Model/Order/Pdf/Config/XsdTest.php index 32ae440a2a4f..ef30b0f90367 100644 --- a/app/code/Magento/Sales/Test/Unit/Model/Order/Pdf/Config/XsdTest.php +++ b/app/code/Magento/Sales/Test/Unit/Model/Order/Pdf/Config/XsdTest.php @@ -188,7 +188,8 @@ protected function _getExemplarTestData() 'non-valid empty renderer class name' => [ '', [ - "Element 'renderer': '' is not a valid value of the atomic type 'classNameType'.The xml was: \n" . + "Element 'renderer': [facet 'pattern'] The value '' is not accepted by the pattern " . + "'[A-Z][a-zA-Z\d]*(\\\\[A-Z][a-zA-Z\d]*)*'.The xml was: \n" . "0:\n1:\n2:\n" ], @@ -256,8 +257,9 @@ protected function _getExemplarTestData() 'Titlefoo' . 'a model', [ - "Element 'model': 'a model' is not a valid value of the atomic type 'classNameType'.The xml " . - "was: \n0:\n1:Title" . + "Element 'model': [facet 'pattern'] The value 'a model' is not accepted by the pattern " . + "'[A-Z][a-zA-Z\d]*(\\\\[A-Z][a-zA-Z\d]*)*'.The xml was: \n" . + "0:\n1:Title" . "fooa model\n2:\n" ], ],