tests: Default ENABLE_FILE_LINKS to False.

Test configuration should mirror default production as much as possible.
This commit is contained in:
Alex Vandiver
2024-07-18 14:28:16 +00:00
committed by Tim Abbott
parent e02e9c9181
commit 08191d3f69
3 changed files with 22 additions and 23 deletions

View File

@@ -131,9 +131,6 @@ if not PUPPETEER_TESTS:
set_loglevel("zerver.worker", "WARNING")
set_loglevel("stripe", "WARNING")
# Enable file:/// hyperlink support by default in tests
ENABLE_FILE_LINKS = True
# This is set dynamically in `zerver/lib/test_runner.py`.
# Allow setting LOCAL_UPLOADS_DIR in the environment so that the
# frontend/API tests in test_server.py can control this.