Default new services to prefixing text messages

We want new services, when they do the tour, to see how the service name
they just made shows up in the messages. This is how it (should) work
at the moment (although got broken because of the multiple senders
stuff).

Need to do this before we do the migration now otherwise a new service
could sneak in with this setting still set to `null`.
This commit is contained in:
Chris Hill-Scott
2017-11-03 15:32:18 +00:00
parent ab583c0bc6
commit 812090b104
4 changed files with 17 additions and 13 deletions

View File

@@ -93,6 +93,7 @@ def test_create_service(sample_user):
assert service_db.branding == BRANDING_GOVUK
assert service_db.dvla_organisation_id == DVLA_ORG_HM_GOVERNMENT
assert service_db.research_mode is False
assert service_db.prefix_sms is True
assert service.active is True
assert sample_user in service_db.users