This commit is contained in:
zandercymatics 2024-07-09 14:06:47 -06:00
parent 9a44f6b65a
commit c2ba10f191
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -939,9 +939,7 @@ class TestDomainRequestAdmin(MockEppLib):
def test_domain_request_senior_official_is_alphabetically_sorted(self):
"""Tests if the senior offical dropdown is alphanetically sorted in the django admin display"""
SeniorOfficial.objects.get_or_create(
first_name="mary", last_name="joe", title="some other guy"
)
SeniorOfficial.objects.get_or_create(first_name="mary", last_name="joe", title="some other guy")
SeniorOfficial.objects.get_or_create(first_name="alex", last_name="smoe", title="some guy")
SeniorOfficial.objects.get_or_create(first_name="Zoup", last_name="Soup", title="title")
@ -2948,9 +2946,7 @@ class TestDomainInformationAdmin(TestCase):
def test_domain_information_senior_official_is_alphabetically_sorted(self):
"""Tests if the senior offical dropdown is alphanetically sorted in the django admin display"""
SeniorOfficial.objects.get_or_create(
first_name="mary", last_name="joe", title="some other guy"
)
SeniorOfficial.objects.get_or_create(first_name="mary", last_name="joe", title="some other guy")
SeniorOfficial.objects.get_or_create(first_name="alex", last_name="smoe", title="some guy")
SeniorOfficial.objects.get_or_create(first_name="Zoup", last_name="Soup", title="title")