Set Notify service user as the creator of Pre-compiled PDF template

This commit is contained in:
Alexey Bezhan
2018-02-23 13:30:35 +00:00
parent 6d1439e39a
commit e659253b01
2 changed files with 10 additions and 2 deletions

View File

@@ -45,9 +45,9 @@ from app.dao.email_branding_dao import dao_create_email_branding
from app.dao.organisation_dao import dao_create_organisation
def create_user(mobile_number="+447700900986", email="notify@digital.cabinet-office.gov.uk", state='active'):
def create_user(mobile_number="+447700900986", email="notify@digital.cabinet-office.gov.uk", state='active', id_=None):
data = {
'id': uuid.uuid4(),
'id': id_ or uuid.uuid4(),
'name': 'Test User',
'email_address': email,
'password': 'password',