Added overridden Keyword
1 unresolved thread
1 unresolved thread
Compare changes
@@ -53,18 +53,18 @@ public function testTwigDebugMarkup() {
$this->assertStringContainsString('* node--1--full' . $extension . PHP_EOL . ' x node--1' . $extension . PHP_EOL . ' * node--page--full' . $extension . PHP_EOL . ' * node--page' . $extension . PHP_EOL . ' * node--full' . $extension . PHP_EOL . ' * node' . $extension, $output, 'Suggested template files found in order and node ID specific template shown as current template.');
$this->assertStringContainsString('▪️ node--1--full' . $extension . PHP_EOL . ' ✅ node--1' . $extension . PHP_EOL . ' ▪️ node--page--full' . $extension . PHP_EOL . ' ▪️ node--page' . $extension . PHP_EOL . ' ▪️ node--full' . $extension . PHP_EOL . ' ▪️ node' . $extension, $output, 'Suggested template files found in order and node ID specific template shown as current template.');
$this->assertStringContainsString('<!-- INVALID FILE NAME SUGGESTIONS:' . PHP_EOL . ' See https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Render!theme.api.php/function/hook_theme_suggestions_alter' . PHP_EOL . ' invalid_theme_suggestions' . PHP_EOL . '-->', $output, 'Twig debug markup found invalid suggestions.');
$this->assertStringContainsString('* node--2--full' . $extension . PHP_EOL . ' * node--2' . $extension . PHP_EOL . ' * node--page--full' . $extension . PHP_EOL . ' * node--page' . $extension . PHP_EOL . ' * node--full' . $extension . PHP_EOL . ' x node' . $extension, $output, 'Suggested template files found in order and base template shown as current template.');
$this->assertStringContainsString('▪️ node--2--full' . $extension . PHP_EOL . ' ▪️ node--2' . $extension . PHP_EOL . ' ▪️ node--page--full' . $extension . PHP_EOL . ' ▪️ node--page' . $extension . PHP_EOL . ' ▪️ node--full' . $extension . PHP_EOL . ' ✅ node' . $extension, $output, 'Suggested template files found in order and base template shown as current template.');
@@ -73,7 +73,7 @@ public function testTwigDebugMarkup() {
$this->assertStringContainsString('* node--foo--bar' . $extension . PHP_EOL . ' * node--foo' . $extension . PHP_EOL . ' * node--<script type="text/javascript">alert('yo');</script>' . $extension . PHP_EOL . ' * node--3--full' . $extension . PHP_EOL . ' * node--3' . $extension . PHP_EOL . ' * node--page--full' . $extension . PHP_EOL . ' * node--page' . $extension . PHP_EOL . ' * node--full' . $extension . PHP_EOL . ' x node' . $extension, $output, 'Suggested template files found in order and base template shown as current template.');
$this->assertStringContainsString('▪️ node--foo--bar' . $extension . PHP_EOL . ' ▪️ node--foo' . $extension . PHP_EOL . ' ▪️ node--<script type="text/javascript">alert('yo');</script>' . $extension . PHP_EOL . ' ▪️ node--3--full' . $extension . PHP_EOL . ' ▪️ node--3' . $extension . PHP_EOL . ' ▪️ node--page--full' . $extension . PHP_EOL . ' ▪️ node--page' . $extension . PHP_EOL . ' ▪️ node--full' . $extension . PHP_EOL . ' ✅ node' . $extension, $output, 'Suggested template files found in order and base template shown as current template.');