mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 00:07:02 -04:00
Merge pull request #2923 from alphagov/dont-ask-org-type
Don’t ask for organisation type when we know it
This commit is contained in:
@@ -3134,6 +3134,7 @@ def mock_get_organisation_by_domain(
|
||||
name=False,
|
||||
crown=True,
|
||||
agreement_signed=False,
|
||||
organisation_type='',
|
||||
):
|
||||
def _get_organisation_by_domain(org_id):
|
||||
return organisation_json(
|
||||
@@ -3141,6 +3142,7 @@ def mock_get_organisation_by_domain(
|
||||
name,
|
||||
crown=crown,
|
||||
agreement_signed=agreement_signed,
|
||||
organisation_type=organisation_type,
|
||||
)
|
||||
|
||||
return mocker.patch(
|
||||
|
||||
Reference in New Issue
Block a user