Merge pull request #1636 from alphagov/dont-list-all-address-columns

Don’t list all letter address cols if some missing
This commit is contained in:
Chris Hill-Scott
2017-11-16 11:44:36 +00:00
committed by GitHub
2 changed files with 5 additions and 2 deletions

View File

@@ -1883,7 +1883,7 @@ def test_check_messages_column_error_doesnt_show_optional_columns(
)
assert normalize_spaces(page.select_one('.banner-dangerous').text) == (
'Your file needs columns called address line 1, address line 2 and postcode '
'Your file needs a column called postcode '
'Right now it has columns called address_line_1, address_line_2 and foo. '
'Skip to file contents'
)