mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-22 02:36:02 +02:00
Fix unit tests
This commit is contained in:
parent
9a747fbdc5
commit
f32aa9e18a
3 changed files with 11 additions and 8 deletions
|
@ -1951,6 +1951,7 @@ class Domain(TimeStampedModel, DomainHelper):
|
|||
# Does the item we're grabbing match
|
||||
# what we have in our DB?
|
||||
if existing_contact.email != public_contact.email or existing_contact.registry_id != public_contact.registry_id:
|
||||
print("******* IN IF STATEMENT!!!!! ***********")
|
||||
existing_contact.delete()
|
||||
public_contact.save()
|
||||
logger.warning("Requested PublicContact is out of sync " "with DB.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue