diff --git a/app/templates/views/dashboard/dashboard.html b/app/templates/views/dashboard/dashboard.html
index effa2be27..eeca2b213 100644
--- a/app/templates/views/dashboard/dashboard.html
+++ b/app/templates/views/dashboard/dashboard.html
@@ -128,16 +128,6 @@
Recent templates
{{ ajax_block(partials, updates_url, 'template-statistics') }}
- {% if current_user.has_permissions('manage_service') %}
-
- {{ ajax_block(partials, updates_url, 'usage') }}
- During the pilot period, each service has an allowance of 250,000 message parts. Once this allowance is met, the
- application will stop delivering messages. There's no monthly charge, no setup fee, and no procurement cost.
-
- What counts as 1 text message part?
- See pricing.
-
- {% endif %} #}
{% endblock %}
diff --git a/tests/app/main/views/test_dashboard.py b/tests/app/main/views/test_dashboard.py
index 50a89d0c8..c8384fadc 100644
--- a/tests/app/main/views/test_dashboard.py
+++ b/tests/app/main/views/test_dashboard.py
@@ -595,10 +595,11 @@ def test_should_show_recent_templates_on_dashboard(
]
assert "Total Messages" in headers
- table_rows = page.find_all("tbody")[1].find_all("tr")
+ table_rows = page.find_all("tbody")[0].find_all("tr")
assert len(table_rows) == 2
+
assert "two" in table_rows[0].find_all("td")[0].text
assert "Email template" in table_rows[0].find_all("td")[0].text
assert "200" in table_rows[0].find_all("td")[1].text
@@ -1359,18 +1360,11 @@ def test_menu_all_services_for_platform_admin_user(
page = _test_dashboard_menu(
client_request, mocker, platform_admin_user, service_one, []
)
+ print(page)
page = str(page)
assert url_for("main.choose_template", service_id=service_one["id"]) in page
- # assert url_for("main.manage_users", service_id=service_one["id"]) in page
- # assert url_for("main.service_settings", service_id=service_one["id"]) in page
- # assert url_for('main.view_notifications', service_id=service_one['id'], message_type='email') in page
- assert (
- url_for(
- "main.view_notifications", service_id=service_one["id"], message_type="sms"
- )
- in page
- )
- # assert url_for('main.api_keys', service_id=service_one['id']) not in page
+ assert url_for("main.service_settings", service_id=service_one["id"]) in page
+ assert url_for('main.api_keys', service_id=service_one['id']) not in page
def test_route_for_service_permissions(