Add "the"

This commit is contained in:
zandercymatics 2024-02-09 11:55:47 -07:00
parent a1769b50c6
commit bfc82bda01
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 2 additions and 2 deletions

View file

@ -1180,7 +1180,7 @@ class DomainAdmin(ListHeaderAdmin):
obj.renew_domain(length=years)
self.message_user(
request,
f"Successfully extended expiration date.",
f"Successfully extended the expiration date.",
)
except RegistryError as err:
if err.is_connection_error():

View file

@ -101,7 +101,7 @@ class TestDomainAdmin(MockEppLib, WebTest):
self.assertContains(response, "Extend expiration date")
# Ensure the message we recieve is in line with what we expect
expected_message = f"Successfully extended expiration date."
expected_message = f"Successfully extended the expiration date."
expected_call = call(
# The WGSI request doesn't need to be tested
ANY,