From 0a942e4183fe0201338fa7f16ffee16992f6357e Mon Sep 17 00:00:00 2001 From: Rachid Mrad Date: Wed, 7 Feb 2024 16:43:51 -0500 Subject: [PATCH] remove duplicate test def --- src/registrar/tests/test_admin.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/registrar/tests/test_admin.py b/src/registrar/tests/test_admin.py index a5ea89072..f90b18584 100644 --- a/src/registrar/tests/test_admin.py +++ b/src/registrar/tests/test_admin.py @@ -744,13 +744,6 @@ class TestDomainApplicationAdmin(MockEppLib): "Cannot edit an application with a restricted creator.", ) - def test_error_when_saving_approved_to_rejected_and_domain_is_active(self): - # Create an instance of the model - application = completed_application(status=DomainApplication.ApplicationStatus.APPROVED) - domain = Domain.objects.create(name=application.requested_domain.name) - application.approved_domain = domain - application.save() - def trigger_saving_approved_to_another_state(self, domain_is_active, another_state): """Helper method that triggers domain request state changes from approved to another state, with an associated domain that can be either active (READY) or not.