Update postcode validation error message

This commit is contained in:
Pea M. Tyczynska
2020-03-18 13:37:32 +00:00
committed by Pea Tyczynska
parent 24cfde3410
commit d80fef8fe8
2 changed files with 2 additions and 2 deletions

View File

@@ -164,7 +164,7 @@ def test_post_letter_notification_throws_error_for_bad_postcode(
assert error_json['status_code'] == 400
assert error_json['errors'] == [{
'error': 'ValidationError',
'message': 'A real UK postcode is required.'
'message': 'Must be a real UK postcode'
}]