Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
video_calls: Fix an error name and a typo in the docs.
Niloth Pd1bc81409c8b
diff --git a/docs/production/video-calls.md b/docs/production/video-calls.mdindex ddd26a4a7e4..bc64d308c38 100644--- a/docs/production/video-calls.md+++ b/docs/production/video-calls.md@@ -172,7 +172,7 @@ Server as follows:to be your BigBlueButton Server's shared secret.2. In `/etc/zulip/settings.py`, set `BIG_BLUE_BUTTON_URL` to your- to be your BigBlueButton Server's API URL.+ BigBlueButton Server's API URL.3. Restart the Zulip server with`/home/zulip/deployments/current/scripts/restart-server`.diff --git a/zerver/tests/test_create_video_call.py b/zerver/tests/test_create_video_call.pyindex e45c674c445..a554b32cc1a 100644--- a/zerver/tests/test_create_video_call.py+++ b/zerver/tests/test_create_video_call.py@@ -735,7 +735,9 @@ class ConstructorGroupsVideoCallTest(ZulipTestCase):]:with self.settings(**{setting_name: None}):response = self.client_post("/json/calls/constructorgroups/create")- self.assert_json_error(response, "Failed to create Constructor Groups call")+ self.assert_json_error(+ response, "Constructor Groups credentials have not been configured"+ )@responses.activatedef test_get_existing_room(self) -> None:diff --git a/zerver/views/video_calls.py b/zerver/views/video_calls.pyindex 34fb4a6eec3..fe1471e4ff3 100644--- a/zerver/views/video_calls.py+++ b/zerver/views/video_calls.py@@ -133,7 +133,7 @@ class ConstructorGroupsService:or (access_key := settings.CONSTRUCTOR_GROUPS_ACCESS_KEY) is Noneor (secret_key := settings.CONSTRUCTOR_GROUPS_SECRET_KEY) is None):- raise CreateVideoCallFailedError("Constructor Groups")+ raise VideoCallProviderNotConfiguredError("Constructor Groups")self.access_key = access_keyself.secret_key = secret_key