Change error message, the folder id is not useful infomation to the user.

This commit is contained in:
Rebecca Law
2018-11-12 15:25:48 +00:00
parent d4506f7825
commit 83d720bb7b
2 changed files with 2 additions and 4 deletions

View File

@@ -343,7 +343,7 @@ def test_move_to_folder_itself_is_rejected(admin_request, sample_service):
},
_expected_status=400
)
response['message'] == 'Could not move to folder: {} to itself'.format(target_folder.id)
assert response['message'] == 'Could not move to folder to itself'
def test_move_to_folder_skips_archived_templates(admin_request, sample_service):