Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
node_tests: Remove duplicated code in settings_org tests.
Sahil Batra577abbd434b2
diff --git a/frontend_tests/node_tests/settings_org.js b/frontend_tests/node_tests/settings_org.jsindex 6873c64df27..3986462d389 100644--- a/frontend_tests/node_tests/settings_org.js+++ b/frontend_tests/node_tests/settings_org.js@@ -383,19 +383,6 @@ function test_sync_realm_settings() {assert.equal($("#id_realm_msg_edit_limit_setting").val(), "custom_limit");}- {- /* Test message content edit limit minutes sync */- const $property_elem = $("#id_realm_message_content_edit_limit_minutes");- $property_elem.length = 1;- $property_elem.attr("id", "id_realm_message_content_edit_limit_minutes");-- page_params.realm_create_public_stream_policy = 1;- page_params.realm_message_content_edit_limit_seconds = 120;-- settings_org.sync_realm_settings("message_content_edit_limit_seconds");- assert.equal($("#id_realm_message_content_edit_limit_minutes").val(), "2");- }-{/* Test organization joining restrictions settings sync */const $property_elem = $("#id_realm_org_join_restrictions");