email: Fix naming of mituser_invite_email files.

This commit is contained in:
Rishi Gupta 2017-04-27 18:52:07 -07:00
parent e89c5e4129
commit 4027adb6cc
4 changed files with 4 additions and 4 deletions

View File

@ -3066,8 +3066,8 @@ def do_send_confirmation_email(invitee, referrer, body):
'verbose_support_offers': settings.VERBOSE_SUPPORT_OFFERS} 'verbose_support_offers': settings.VERBOSE_SUPPORT_OFFERS}
if referrer.realm.is_zephyr_mirror_realm: if referrer.realm.is_zephyr_mirror_realm:
subject_template_path = 'confirmation/mituser_invite_email_subject.txt' subject_template_path = 'confirmation/mituser_invite_email.subject'
body_template_path = 'confirmation/mituser_invite_email_body.txt' body_template_path = 'confirmation/mituser_invite_email.txt'
html_body_template_path = None html_body_template_path = None
Confirmation.objects.send_confirmation( Confirmation.objects.send_confirmation(

View File

@ -85,8 +85,8 @@ class TemplateTestCase(ZulipTestCase):
unusual = [ unusual = [
'confirmation/mituser_confirmation_email.txt', 'confirmation/mituser_confirmation_email.txt',
'confirmation/mituser_confirmation_email.subject', 'confirmation/mituser_confirmation_email.subject',
'confirmation/mituser_invite_email_body.txt', 'confirmation/mituser_invite_email.txt',
'confirmation/mituser_invite_email_subject.txt', 'confirmation/mituser_invite_email.subject',
'confirmation/emailchangestatus_confirmation_email.subject', 'confirmation/emailchangestatus_confirmation_email.subject',
'confirmation/emailchangestatus_confirmation_email.html', 'confirmation/emailchangestatus_confirmation_email.html',
'confirmation/emailchangestatus_confirmation_email.txt', 'confirmation/emailchangestatus_confirmation_email.txt',