diff --git a/resources/views/default.blade.php b/resources/views/default.blade.php index 9da41dfb..a3ee51e4 100644 --- a/resources/views/default.blade.php +++ b/resources/views/default.blade.php @@ -47,7 +47,7 @@ {{-- Custom CSS --}} @if(!empty(config('larecipe.ui.additional_css'))) @foreach(config('larecipe.ui.additional_css') as $css) - + @endforeach @endif @@ -67,7 +67,7 @@ {{-- Custom JS --}} @if(!empty(config('larecipe.ui.additional_js'))) @foreach(config('larecipe.ui.additional_js') as $js) - + @endforeach @endif diff --git a/tests/Feature/BustCustomAssetsCacheTest.php b/tests/Feature/BustCustomAssetsCacheTest.php new file mode 100644 index 00000000..dd3bc3b8 --- /dev/null +++ b/tests/Feature/BustCustomAssetsCacheTest.php @@ -0,0 +1,36 @@ +get('/docs/1.0') + ->assertStatus(200) + ->assertSee("/js/{$customCssFile}?id=") + ->assertSee("/js/{$customJsFile}?id="); + + } + + + +}