mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-17 18:09:25 +02:00
Cleanup + (mostly) fix tests
This commit is contained in:
parent
4c84ad8456
commit
3441a3974f
7 changed files with 41 additions and 12 deletions
|
@ -557,7 +557,6 @@ class DomainRequest(TimeStampedModel):
|
|||
blank=True,
|
||||
)
|
||||
|
||||
|
||||
def get_action_needed_reason_default_email_text(self, action_needed_reason: str):
|
||||
"""Returns the default email associated with the given action needed reason"""
|
||||
if action_needed_reason is None or action_needed_reason == self.ActionNeededReasons.OTHER:
|
||||
|
@ -579,10 +578,9 @@ class DomainRequest(TimeStampedModel):
|
|||
|
||||
return {
|
||||
"subject_text": subject_template.render(context=context),
|
||||
"email_body_text": template.render(context=context)
|
||||
"email_body_text": template.render(context=context),
|
||||
}
|
||||
|
||||
|
||||
def sync_organization_type(self):
|
||||
"""
|
||||
Updates the organization_type (without saving) to match
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue