mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 17:47:02 +02:00
Copy edits on the error msg
This commit is contained in:
parent
e14ac58cd7
commit
08c50fba63
2 changed files with 3 additions and 3 deletions
|
@ -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.",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -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):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue