Remove service.postage and choose_postage permission from the code and tests

This commit is contained in:
Pea Tyczynska
2019-02-11 18:20:34 +00:00
parent a6660b7d91
commit 8ef581de69
6 changed files with 13 additions and 36 deletions

View File

@@ -83,7 +83,6 @@ def create_service(
prefix_sms=True,
message_limit=1000,
organisation_type='central',
postage='second',
check_if_service_exists=False
):
if check_if_service_exists:
@@ -96,8 +95,7 @@ def create_service(
email_from=email_from if email_from else service_name.lower().replace(' ', '.'),
created_by=user if user else create_user(email='{}@digital.cabinet-office.gov.uk'.format(uuid.uuid4())),
prefix_sms=prefix_sms,
organisation_type=organisation_type,
postage=postage
organisation_type=organisation_type
)
dao_create_service(service, service.created_by, service_id, service_permissions=service_permissions)