]> BookStack Code Mirror - bookstack/commit
Fixed tests from streaming changes 3365/head
authorDan Brown <redacted>
Sun, 3 Apr 2022 15:22:31 +0000 (16:22 +0100)
committerDan Brown <redacted>
Sun, 3 Apr 2022 15:22:31 +0000 (16:22 +0100)
commit59d1fb2d1033616ac7edc143f4876485bb997c6a
tree975465b2646f0832a01e7a8af9adb7d14512aaf0
parent08a8c0070e3f1574ceecd0ea120c26bbf52eb0f4
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.
app/Http/Controllers/Controller.php
resources/views/common/export-styles.blade.php
tests/Api/AttachmentsApiTest.php
tests/Uploads/AttachmentTest.php