Copy edits on the error msg

This commit is contained in:
Rachid Mrad 2023-09-08 16:56:56 -04:00
parent e14ac58cd7
commit 08c50fba63
No known key found for this signature in database
GPG key ID: EF38E4CEC4A8F3CF
2 changed files with 3 additions and 3 deletions

View file

@ -405,7 +405,7 @@ class DomainApplicationAdmin(ListHeaderAdmin):
messages.error( messages.error(
request, request,
"This action is not permitted, the domain " "This action is not permitted. The domain "
+ "is already active.", + "is already active.",
) )

View file

@ -469,7 +469,7 @@ class TestDomainApplicationAdmin(TestCase):
# Assert that the error message was called with the correct argument # Assert that the error message was called with the correct argument
messages.error.assert_called_once_with( messages.error.assert_called_once_with(
request, 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): 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 # Assert that the error message was called with the correct argument
messages.error.assert_called_once_with( messages.error.assert_called_once_with(
request, 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): def test_side_effects_when_saving_approved_to_ineligible(self):