Skip to content

Commit 7f06e9b

Browse files
committed
Tests: Clean up cached view after Blade::render
1 parent c7d37bd commit 7f06e9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/DirectiveTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ protected function renderView($contents, $data = [])
5353
{
5454
// Laravel 8+ only: https://github.com/laravel/framework/pull/40425
5555
if (method_exists(BladeCompiler::class, 'render')) {
56-
return Blade::render($contents, $data, false);
56+
return Blade::render($contents, $data, true);
5757
}
5858

5959
// First, we'll create a temporary file, and use compileString to 'emulate' compilation of our view.

0 commit comments

Comments
 (0)