File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ final class BladeViewRendererTest extends FrameworkIntegrationTestCase
2020 public function test_blade (): void
2121 {
2222 $ viewConfig = $ this ->container ->get (ViewConfig::class);
23-
2423 $ viewConfig ->rendererClass = BladeViewRenderer::class;
2524
25+ $ this ->container ->unregister (ViewRenderer::class);
2626 $ this ->container ->config (new BladeConfig (
2727 viewPaths: [__DIR__ . '/blade ' ],
2828 cachePath: 'blade-cache ' ,
Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ final class TwigViewRendererTest extends FrameworkIntegrationTestCase
2020 public function test_twig (): void
2121 {
2222 $ viewConfig = $ this ->container ->get (ViewConfig::class);
23-
2423 $ viewConfig ->rendererClass = TwigViewRenderer::class;
2524
25+ $ this ->container ->unregister (ViewRenderer::class);
2626 $ this ->container ->config (new TwigConfig (
2727 viewPaths: [__DIR__ . '/twig ' ],
2828 cachePath: 'twig-cache ' ,
You can’t perform that action at this time.
0 commit comments