Some unit tests

This commit is contained in:
zandercymatics 2024-04-19 12:58:42 -06:00
parent 9931fcc4d3
commit 7b19e29cf6
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
4 changed files with 49 additions and 5 deletions

View file

@ -659,7 +659,6 @@ class DomainRequest(TimeStampedModel):
cisa_representative_email = models.EmailField(
null=True,
blank=True,
db_index=True,
verbose_name="CISA region representative",
max_length=320,
)
@ -739,7 +738,7 @@ class DomainRequest(TimeStampedModel):
self.cisa_representative_email != "" and self.cisa_representative_email is not None
)
if self.anything_else is not None:
if self.has_anything_else_text is not None:
self.has_anything_else_text = self.anything_else != "" and self.anything_else is not None
def __str__(self):