1
0
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:
Dan Brown
2022-04-03 16:22:31 +01:00
parent 08a8c0070e
commit 59d1fb2d10
4 changed files with 18 additions and 9 deletions

View File

@ -1,5 +1,5 @@
<style>
@if (!app()->environment('testing'))
@if (!app()->runningUnitTests())
{!! file_get_contents(public_path('/dist/export-styles.css')) !!}
@endif
</style>