Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

test_invite: Remove a totally uninteresting assert.

Alex Vandiver83fdc59304b5
diff --git a/zerver/tests/test_invite.py b/zerver/tests/test_invite.py
index 6b356ed244c..dab0e3ff6d5 100644
--- a/zerver/tests/test_invite.py
+++ b/zerver/tests/test_invite.py
@@ -859,9 +859,6 @@ so we didn't send them an invitation. We did send invitations to everyone else!"
# We only sent emails to the new users.
self.check_sent_emails(new)
- prereg_user = PreregistrationUser.objects.get(email="[email protected]")
- self.assertEqual(prereg_user.email, "[email protected]")
-
def test_invite_outside_domain_in_closed_realm(self) -> None:
"""
In a realm with `emails_restricted_to_domains = True`, you can't invite people