mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Merge pull request #3899 from alphagov/bump-utils-new-invalid-address-char
Bump utils version for new invalid address character
This commit is contained in:
@@ -733,7 +733,7 @@ def test_upload_csv_file_with_bad_postal_address_shows_check_page_with_errors(
|
||||
'6 Address must be no more than 7 lines long',
|
||||
'1 2 3 4 5 6 7 8',
|
||||
|
||||
'7 Address lines must not start with any of the following characters: @ ( ) = [ ] ” \\ / , < >',
|
||||
'7 Address lines must not start with any of the following characters: @ ( ) = [ ] ” \\ / , < > ~',
|
||||
'=Firstname Lastname 123 Example St. SW1A 1AA',
|
||||
]
|
||||
|
||||
@@ -2370,7 +2370,7 @@ def test_send_one_off_letter_address_populates_address_fields_in_session(
|
||||
(
|
||||
'a\n(b\nSW1A 1AA',
|
||||
[],
|
||||
'Address lines must not start with any of the following characters: @ ( ) = [ ] ” \\ / , < >',
|
||||
'Address lines must not start with any of the following characters: @ ( ) = [ ] ” \\ / , < > ~',
|
||||
),
|
||||
])
|
||||
def test_send_one_off_letter_address_rejects_bad_addresses(
|
||||
|
||||
@@ -563,11 +563,11 @@ def test_get_letter_validation_error_for_unknown_error():
|
||||
None,
|
||||
'There’s a problem with the address for this letter',
|
||||
(
|
||||
'Address lines must not start with any of the following characters: @ ( ) = [ ] ” \\ / , < >'
|
||||
'Address lines must not start with any of the following characters: @ ( ) = [ ] ” \\ / , < > ~'
|
||||
),
|
||||
(
|
||||
'Validation failed because address lines must not start with any of the following '
|
||||
'characters: @ ( ) = [ ] ” \\ / , < >'
|
||||
'characters: @ ( ) = [ ] ” \\ / , < > ~'
|
||||
),
|
||||
),
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user