emails: Update text version of find team email to match HTML version.

The HTML version of the email was updated in commit 5410df2a7b.
This commit is contained in:
Lauryn Menard 2024-04-03 13:49:10 +02:00 committed by Tim Abbott
parent ebe9437ccc
commit db8e130110
2 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@
{% else %}
{% if corporate_enabled %}
{{ _("You have requested a list of Zulip accounts for this email address.") }} {{ _("Unfortunately, no accounts in Zulip Cloud organizations were found.") }}
{{ _("You have requested a list of Zulip accounts for this email address.") }} {{ _("Unfortunately, no Zulip Cloud accounts were found.") }}
{% trans %}You can check for accounts with another email ({{ find_accounts_link }}), or try another way to find your account ({{ help_logging_in_link }}).{% endtrans %}

View File

@ -4295,7 +4295,7 @@ class TestFindMyTeam(ZulipTestCase):
self.assert_length(outbox, 1)
message = outbox[0]
self.assertIn("Unfortunately, no accounts", message.body)
self.assertIn("Unfortunately, no Zulip Cloud accounts", message.body)
def test_find_team_reject_invalid_email(self) -> None:
result = self.client_post("/accounts/find/", dict(emails="invalid_string"))
@ -4337,7 +4337,7 @@ class TestFindMyTeam(ZulipTestCase):
self.assert_length(outbox, 1)
message = outbox[0]
self.assertIn("Unfortunately, no accounts", message.body)
self.assertIn("Unfortunately, no Zulip Cloud accounts", message.body)
def test_find_team_deactivated_realm(self) -> None:
do_deactivate_realm(get_realm("zulip"), acting_user=None)
@ -4348,7 +4348,7 @@ class TestFindMyTeam(ZulipTestCase):
self.assert_length(outbox, 1)
message = outbox[0]
self.assertIn("Unfortunately, no accounts", message.body)
self.assertIn("Unfortunately, no Zulip Cloud accounts", message.body)
def test_find_team_bot_email(self) -> None:
data = {"emails": self.example_email("webhook_bot")}
@ -4358,7 +4358,7 @@ class TestFindMyTeam(ZulipTestCase):
self.assert_length(outbox, 1)
message = outbox[0]
self.assertIn("Unfortunately, no accounts", message.body)
self.assertIn("Unfortunately, no Zulip Cloud accounts", message.body)
def test_find_team_more_than_ten_emails(self) -> None:
data = {"emails": ",".join(f"hamlet-{i}@zulip.com" for i in range(11))}