diff --git a/dev/tests/static/testsuite/Magento/Test/Integrity/Layout/TemplatesTest.php b/dev/tests/static/testsuite/Magento/Test/Integrity/Layout/TemplatesTest.php index 346a918eefa56..4ad3ccb95df29 100644 --- a/dev/tests/static/testsuite/Magento/Test/Integrity/Layout/TemplatesTest.php +++ b/dev/tests/static/testsuite/Magento/Test/Integrity/Layout/TemplatesTest.php @@ -37,7 +37,7 @@ public static function setUpBeforeClass() } /** - * Test that references to template files follows canonical Vendor_Module::path/to/template.phtml format. + * Test that references to template files follows canonical format. * * path/to/template.phtml Format is prohibited. * @return void @@ -57,7 +57,8 @@ public function testTemplateFollowsCanonicalName() } if (count($errors) > 0) { $message = 'Failed to assert that the template reference follows the canonical format ' - . 'Vendor_Module::path/to/template.phtml. Following files haven\'t pass verification:' . PHP_EOL; + . 'Vendor' . '_' . 'Module::path/to/template.phtml. Following files haven\'t pass verification:' + . PHP_EOL; foreach ($errors as $file => $wrongTemplates) { $message .= $file . ':' . PHP_EOL; $message .= '- ' . implode(PHP_EOL . '- ', $wrongTemplates) . PHP_EOL;