Issue #3126694 by Neslee Canil Pinto: Replace tpl.twig with html.twig in ThemeTest

merge-requests/2419/head
catch 2020-04-17 09:24:11 +01:00
parent 09be91a395
commit afd616c38d
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ class ThemeTest extends KernelTestBase {
public function testFindThemeTemplates() {
$registry = $this->container->get('theme.registry')->get();
$templates = drupal_find_theme_templates($registry, '.html.twig', drupal_get_path('theme', 'test_theme'));
$this->assertEqual($templates['node__1']['template'], 'node--1', 'Template node--1.tpl.twig was found in test_theme.');
$this->assertEqual($templates['node__1']['template'], 'node--1', 'Template node--1.html.twig was found in test_theme.');
}
}