Pass dvla_org_id through to template preview app

This commit is contained in:
Chris Hill-Scott
2017-04-20 12:15:30 +01:00
parent 61470391bf
commit cfc031cfbf
3 changed files with 6 additions and 3 deletions

View File

@@ -72,7 +72,8 @@ def service_json(
'organisation': organisation,
'branding': branding,
'created_at': created_at or str(datetime.utcnow()),
'letter_contact_block': letter_contact_block
'letter_contact_block': letter_contact_block,
'dvla_organisation': '001',
}

View File

@@ -28,7 +28,8 @@ def test_from_database_object_makes_request(mocker, client):
data = {
'letter_contact_block': '123',
'template': 'foo',
'values': None
'values': None,
'dvla_org_id': '123',
}
headers = {'Authorization': 'Token my-secret-key'}