removed unneeded code

This commit is contained in:
Alysia Broddrick 2025-03-03 09:14:03 -08:00
parent bf1dd82874
commit da1a76eadc
No known key found for this signature in database
GPG key ID: 03917052CD0F06B7

View file

@ -702,7 +702,7 @@ class TestDomainDetailDomainRenewal(TestDomainOverview):
"""If user check the checkbox and submits the form, """If user check the checkbox and submits the form,
user should be redirected Domain Over page with an updated by 1 year expiration date""" user should be redirected Domain Over page with an updated by 1 year expiration date"""
# Grab the renewal URL # Grab the renewal URL
with patch.object(Domain, "renew_domain", self.custom_renew_domain) as mock_renewal: with patch.object(Domain, "renew_domain", self.custom_renew_domain):
renewal_url = reverse("domain-renewal", kwargs={"domain_pk": self.domain_with_ip.id}) renewal_url = reverse("domain-renewal", kwargs={"domain_pk": self.domain_with_ip.id})
# Click the check, and submit # Click the check, and submit