Go straight into org if no trial mode services

You might still belong to some services, but because they’re live
they’re all in your organisation.
This commit is contained in:
Chris Hill-Scott
2019-06-07 13:06:53 +01:00
parent 71dc650db6
commit 1b395c04f3
3 changed files with 14 additions and 5 deletions

View File

@@ -3355,6 +3355,7 @@ def mock_get_non_empty_organisations_and_services_for_user(mocker, organisation_
return [{
'name': '{} {}'.format(name, i),
'id': SERVICE_TWO_ID,
'restricted': False,
} for i in range(1, 3)]
def _get_orgs_and_services(user_id):