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

@@ -35,6 +35,7 @@ def test_add_reply_to_email_address_for_service_creates_first_email_for_service(
assert len(results) == 1
assert results[0].email_address == 'new@address.com'
assert results[0].is_default
assert not results[0].archived
def test_add_reply_to_email_address_for_service_creates_another_email_for_service(notify_db_session):