Add 'archived' column to the 3 reply_to models

Added a new boolean column, `archived`,  with a default of False to the
three models which are used to specify the 'reply to' address for
notifications:
 * ServiceEmailReplyTo
 * ServiceSmsSender
 * ServiceLetterContact
This commit is contained in:
Katie Smith
2018-04-25 10:42:00 +01:00
parent 238e85ea9e
commit be28f2e2de
4 changed files with 10 additions and 0 deletions

View File

@@ -39,9 +39,11 @@ def test_add_letter_contact_for_service_creates_additional_letter_contact_for_se
assert results[0].contact_block == 'Edinburgh, ED1 1AA'
assert results[0].is_default
assert not results[0].archived
assert results[1].contact_block == 'Swansea, SN1 3CC'
assert not results[1].is_default
assert not results[1].archived
def test_add_another_letter_contact_as_default_overrides_existing(notify_db_session):