mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 17:17:02 +02:00
updated tests
This commit is contained in:
parent
1fa0e63126
commit
673c092ea9
3 changed files with 22 additions and 12 deletions
|
@ -93,12 +93,7 @@ class User(AbstractUser):
|
|||
return self.domain_requests_created.filter(status=DomainRequest.DomainRequestStatus.INELIGIBLE).count()
|
||||
|
||||
def has_contact_info(self):
|
||||
has_contact_info = (
|
||||
self.contact.title or
|
||||
self.email.title or
|
||||
self.contact.phone
|
||||
)
|
||||
return has_contact_info
|
||||
return bool(self.contact.title or self.contact.email or self.contact.phone)
|
||||
|
||||
@classmethod
|
||||
def needs_identity_verification(cls, email, uuid):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue