Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
test_invite: Fix a test failing with old databases.
Tim Abbott6ef2591b47f0
diff --git a/zerver/tests/test_invite.py b/zerver/tests/test_invite.pyindex f674de3ce84..1d72cd65554 100644--- a/zerver/tests/test_invite.py+++ b/zerver/tests/test_invite.py@@ -1203,10 +1203,8 @@ class InviteUserTest(InviteUserBase):)hamlet = self.example_user("hamlet")- hamlet.date_joined = timezone_now() - timedelta(days=9)-- do_set_realm_property(realm, "waiting_period_threshold", 10, acting_user=None)+ do_set_realm_property(realm, "waiting_period_threshold", 100000, acting_user=None)email = "[email protected]"email2 = "[email protected]"invitee = f"Issac Test <{email}>, {email2}"