mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-26 04:28:39 +02:00
Update test_views_request.py
This commit is contained in:
parent
cc0c53006c
commit
59d1301fd7
1 changed files with 9 additions and 0 deletions
|
@ -3081,17 +3081,26 @@ class TestDomainRequestWizard(TestWithUser, WebTest):
|
|||
contact = Contact.objects.create(
|
||||
first_name="Henry",
|
||||
last_name="Mcfakerson",
|
||||
title="test",
|
||||
email="moar@igorville.gov",
|
||||
phone="1234567890"
|
||||
)
|
||||
# Create two non-orphaned contacts
|
||||
contact_2 = Contact.objects.create(
|
||||
first_name="Saturn",
|
||||
last_name="Mars",
|
||||
title="test",
|
||||
email="moar@igorville.gov",
|
||||
phone="1234567890"
|
||||
)
|
||||
|
||||
# Attach a user object to a contact (should not be deleted)
|
||||
contact_user, _ = Contact.objects.get_or_create(
|
||||
first_name="Hank",
|
||||
last_name="McFakey",
|
||||
title="test",
|
||||
email="moar@igorville.gov",
|
||||
phone="1234567890"
|
||||
)
|
||||
|
||||
site = DraftDomain.objects.create(name="igorville.gov")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue