mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 17:47:02 +02:00
Tests
This commit is contained in:
parent
ea59232cef
commit
cf6b8283b6
1 changed files with 3 additions and 1 deletions
|
@ -1444,6 +1444,7 @@ class TestDomainRequestAdmin(MockEppLib):
|
||||||
expected_fields = [
|
expected_fields = [
|
||||||
"other_contacts",
|
"other_contacts",
|
||||||
"current_websites",
|
"current_websites",
|
||||||
|
"alternative_domains",
|
||||||
"id",
|
"id",
|
||||||
"created_at",
|
"created_at",
|
||||||
"updated_at",
|
"updated_at",
|
||||||
|
@ -1491,6 +1492,7 @@ class TestDomainRequestAdmin(MockEppLib):
|
||||||
expected_fields = [
|
expected_fields = [
|
||||||
"other_contacts",
|
"other_contacts",
|
||||||
"current_websites",
|
"current_websites",
|
||||||
|
"alternative_domains",
|
||||||
"creator",
|
"creator",
|
||||||
"about_your_organization",
|
"about_your_organization",
|
||||||
"requested_domain",
|
"requested_domain",
|
||||||
|
@ -1512,7 +1514,7 @@ class TestDomainRequestAdmin(MockEppLib):
|
||||||
|
|
||||||
readonly_fields = self.admin.get_readonly_fields(request)
|
readonly_fields = self.admin.get_readonly_fields(request)
|
||||||
|
|
||||||
expected_fields = ["other_contacts", "current_websites"]
|
expected_fields = ["other_contacts", "current_websites", "alternative_domains",]
|
||||||
|
|
||||||
self.assertEqual(readonly_fields, expected_fields)
|
self.assertEqual(readonly_fields, expected_fields)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue