Pass service domain to api when adding a new service

We need to pass the domain to api when adding a service so that api can
link the domain of the service with a letter brand.
This commit is contained in:
Katie Smith
2019-02-12 14:02:21 +00:00
parent 1cb1ce310a
commit 31a1c1ca51
6 changed files with 21 additions and 12 deletions

View File

@@ -74,6 +74,7 @@ def test_client_creates_service_with_correct_data(
True,
fake_uuid,
'test@example.com',
'nhs.uk'
)
mock_post.assert_called_once_with(
'/service',
@@ -89,6 +90,7 @@ def test_client_creates_service_with_correct_data(
restricted=True,
user_id=fake_uuid,
email_from='test@example.com',
service_domain='nhs.uk'
),
)