diff --git a/app/templates/views/choose-account.html b/app/templates/views/choose-account.html index b96856045..a7f6e51e1 100644 --- a/app/templates/views/choose-account.html +++ b/app/templates/views/choose-account.html @@ -20,15 +20,6 @@ {% for org in current_user.organisations %}
  • {{ org.name }} - {% if org.services %} - - {% endif %}
  • {% endfor %} diff --git a/tests/app/main/views/accounts/test_choose_accounts.py b/tests/app/main/views/accounts/test_choose_accounts.py index f7c7f4fc3..3959520ff 100644 --- a/tests/app/main/views/accounts/test_choose_accounts.py +++ b/tests/app/main/views/accounts/test_choose_accounts.py @@ -64,14 +64,12 @@ def test_choose_account_should_show_choose_accounts_page( # first org assert outer_list_items[0].a.text == 'org_1' assert outer_list_items[0].a['href'] == url_for('.organisation_dashboard', org_id='o1') - outer_list_orgs = outer_list_items[0].ul - assert ' '.join(outer_list_orgs.stripped_strings) == 'org_service_1 org_service_2 org_service_3' + assert not outer_list_items[0].ul # second org assert outer_list_items[1].a.text == 'org_2' assert outer_list_items[1].a['href'] == url_for('.organisation_dashboard', org_id='o2') - outer_list_orgs = outer_list_items[1].ul - assert ' '.join(outer_list_orgs.stripped_strings) == 'org_service_4' + assert not outer_list_items[2].ul # third org assert outer_list_items[2].a.text == 'org_3'