mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 19:09:22 +02:00
Merge pull request #1534 from cisagov/ab/add-missing-disclose-update
Add missing disclose in update (sandbox ab)
This commit is contained in:
commit
b7af10b708
2 changed files with 4 additions and 0 deletions
|
@ -730,8 +730,10 @@ class Domain(TimeStampedModel, DomainHelper):
|
||||||
email=contact.email,
|
email=contact.email,
|
||||||
voice=contact.voice,
|
voice=contact.voice,
|
||||||
fax=contact.fax,
|
fax=contact.fax,
|
||||||
|
auth_info=epp.ContactAuthInfo(pw="2fooBAR123fooBaz"),
|
||||||
) # type: ignore
|
) # type: ignore
|
||||||
|
|
||||||
|
updateContact.disclose = self._disclose_fields(contact=contact) # type: ignore
|
||||||
try:
|
try:
|
||||||
registry.send(updateContact, cleaned=True)
|
registry.send(updateContact, cleaned=True)
|
||||||
except RegistryError as e:
|
except RegistryError as e:
|
||||||
|
|
|
@ -1162,6 +1162,8 @@ class MockEppLib(TestCase):
|
||||||
email=contact.email,
|
email=contact.email,
|
||||||
voice=contact.voice,
|
voice=contact.voice,
|
||||||
fax=contact.fax,
|
fax=contact.fax,
|
||||||
|
disclose=di,
|
||||||
|
auth_info=ai,
|
||||||
)
|
)
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue