Skip to content

Commit d0639be

Browse files
committed
MAGETWO-66675: Fix relative template references in individual Magento modules #1895
- fix static test
1 parent b81fcc8 commit d0639be

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dev/tests/static/testsuite/Magento/Test/Integrity/Layout/TemplatesTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static function setUpBeforeClass()
3737
}
3838

3939
/**
40-
* Test that references to template files follows canonical Vendor_Module::path/to/template.phtml format.
40+
* Test that references to template files follows canonical format.
4141
*
4242
* path/to/template.phtml Format is prohibited.
4343
* @return void
@@ -57,7 +57,8 @@ public function testTemplateFollowsCanonicalName()
5757
}
5858
if (count($errors) > 0) {
5959
$message = 'Failed to assert that the template reference follows the canonical format '
60-
. 'Vendor_Module::path/to/template.phtml. Following files haven\'t pass verification:' . PHP_EOL;
60+
. 'Vendor' . '_' . 'Module::path/to/template.phtml. Following files haven\'t pass verification:'
61+
. PHP_EOL;
6162
foreach ($errors as $file => $wrongTemplates) {
6263
$message .= $file . ':' . PHP_EOL;
6364
$message .= '- ' . implode(PHP_EOL . '- ', $wrongTemplates) . PHP_EOL;

0 commit comments

Comments
 (0)