mirror of
https://github.com/GSA/notifications-api.git
synced 2026-05-05 16:48:31 -04:00
Update postcode validation error message
This commit is contained in:
committed by
Pea Tyczynska
parent
24cfde3410
commit
d80fef8fe8
@@ -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'
|
||||
}]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user