Merge pull request #2227 from alphagov/fix-error-msg

Remove the extra "to" in the message.
This commit is contained in:
Rebecca Law
2018-11-13 14:35:20 +00:00
committed by GitHub
4 changed files with 13 additions and 11 deletions

View File

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