From 6962367e185245474b3920a908cde3a05f61709f Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Sat, 7 Feb 2026 00:08:55 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(backend)=20fix=20notification=20te?= =?UTF-8?q?sts=20broken=20by=20renaming=20env=20var?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- src/backend/core/tests/recording/event/test_notification.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/core/tests/recording/event/test_notification.py b/src/backend/core/tests/recording/event/test_notification.py index 0cfd6059..4198f1e4 100644 --- a/src/backend/core/tests/recording/event/test_notification.py +++ b/src/backend/core/tests/recording/event/test_notification.py @@ -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")