mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 01:41:05 -05:00
new chillmaid approved error messages
these get shown on the front-end so make sure their content is good
This commit is contained in:
@@ -325,9 +325,7 @@ def test_move_to_folder_rejects_if_it_would_cause_folder_loop(admin_request, sam
|
||||
},
|
||||
_expected_status=400
|
||||
)
|
||||
assert response['message'] == 'Could not move to folder: {} is an ancestor of target folder {}'.format(
|
||||
f1.id, target_folder.id
|
||||
)
|
||||
assert response['message'] == 'You cannot move a folder to one of its subfolders'
|
||||
|
||||
|
||||
def test_move_to_folder_itself_is_rejected(admin_request, sample_service):
|
||||
@@ -343,7 +341,7 @@ def test_move_to_folder_itself_is_rejected(admin_request, sample_service):
|
||||
},
|
||||
_expected_status=400
|
||||
)
|
||||
assert response['message'] == 'Could not move folder to itself'
|
||||
assert response['message'] == 'You cannot move a folder to itself'
|
||||
|
||||
|
||||
def test_move_to_folder_skips_archived_templates(admin_request, sample_service):
|
||||
|
||||
Reference in New Issue
Block a user