diff --git a/src/registrar/admin.py b/src/registrar/admin.py index dc7e45895..21dbd7f08 100644 --- a/src/registrar/admin.py +++ b/src/registrar/admin.py @@ -405,7 +405,7 @@ class DomainApplicationAdmin(ListHeaderAdmin): messages.error( request, - "This action is not permitted, the domain " + "This action is not permitted. The domain " + "is already active.", ) diff --git a/src/registrar/tests/test_admin.py b/src/registrar/tests/test_admin.py index e23eafc84..82568781e 100644 --- a/src/registrar/tests/test_admin.py +++ b/src/registrar/tests/test_admin.py @@ -469,7 +469,7 @@ class TestDomainApplicationAdmin(TestCase): # Assert that the error message was called with the correct argument messages.error.assert_called_once_with( request, - "This action is not permitted, the domain " + "is already active.", + "This action is not permitted. The domain " + "is already active.", ) def test_side_effects_when_saving_approved_to_rejected(self): @@ -545,7 +545,7 @@ class TestDomainApplicationAdmin(TestCase): # Assert that the error message was called with the correct argument messages.error.assert_called_once_with( request, - "This action is not permitted, the domain " + "is already active.", + "This action is not permitted. The domain " + "is already active.", ) def test_side_effects_when_saving_approved_to_ineligible(self):