mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Fixed tests from streaming changes
- Added testing check to buffer stop/clear on streaming output due to interference during tests. - Made content-disposition header a little safer in download responses. - Also aligned how we check for testing environment.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<style>
|
||||
@if (!app()->environment('testing'))
|
||||
@if (!app()->runningUnitTests())
|
||||
{!! file_get_contents(public_path('/dist/export-styles.css')) !!}
|
||||
@endif
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user