🐛(backend) fix notification tests broken by renaming env var
SCREEN_RECORDING_BASE_URL was renamed to RECORDING_DOWNLOAD_BASE_URL. The new variable supersedes the old one, which is temporarily kept for backward compatibility. This test failure was missed because the local common file was out of sync with common.dist. Add the new variable with a default value of None to ensure a smooth deprecation path when the old variable is removed.
This commit is contained in:
committed by
aleb_the_flash
parent
0bd57e8623
commit
6962367e18
@@ -102,6 +102,7 @@ def test_notify_user_by_email_success(mocked_current_site, settings):
|
||||
settings.EMAIL_SUPPORT_EMAIL = "support@acme.com"
|
||||
settings.EMAIL_LOGO_IMG = "https://acme.com/logo"
|
||||
settings.SCREEN_RECORDING_BASE_URL = "https://acme.com/recordings"
|
||||
settings.RECORDING_DOWNLOAD_BASE_URL = None
|
||||
settings.EMAIL_FROM = "notifications@acme.com"
|
||||
|
||||
recording = factories.RecordingFactory(room__name="Conference Room A")
|
||||
|
||||
Reference in New Issue
Block a user