From eb075bfd4b6da1fc0356cf40583f2e379a7f0a0b Mon Sep 17 00:00:00 2001 From: zandercymatics <141044360+zandercymatics@users.noreply.github.com> Date: Mon, 18 Dec 2023 10:02:13 -0700 Subject: [PATCH] Remove alphabetical test --- src/registrar/tests/test_admin.py | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/registrar/tests/test_admin.py b/src/registrar/tests/test_admin.py index 2d4a70d46..b4634cacc 100644 --- a/src/registrar/tests/test_admin.py +++ b/src/registrar/tests/test_admin.py @@ -856,26 +856,6 @@ class TestDomainApplicationAdmin(MockEppLib): self.assertEqual(readonly_fields, expected_fields) - def test_table_sorted_alphabetically(self): - """Tests if DomainApplicationAdmin table is sorted alphabetically""" - # Creates a list of DomainApplications in scrambled order - multiple_unalphabetical_domain_objects("application") - - request = self.factory.get("/") - request.user = self.superuser - - # Get the expected list of alphabetically sorted DomainApplications - expected_order = DomainApplication.objects.order_by("requested_domain__name") - - # Get the returned queryset - queryset = self.admin.get_queryset(request) - - # Check the order - self.assertEqual( - list(queryset), - list(expected_order), - ) - def test_displays_investigator_filter(self): """Tests if DomainApplicationAdmin displays the investigator filter"""