Skip to content

Commit 375f232

Browse files
authored
Update EmbeddedComponentTest.php
1 parent d2769b5 commit 375f232

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/TwigComponent/tests/Integration/EmbeddedComponentTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ private static function render(string $template): string
192192
/** @var Environment $twig */
193193
$twig = self::getContainer()->get(Environment::class);
194194
$twig->setCache(false);
195+
$twig->enableAutoReload();
196+
$twig->enableDebug();
195197

196198
return $twig->render($template);
197199
}

0 commit comments

Comments
 (0)