From 75679dcc40d03f396c023a7348b0c7964878e1b7 Mon Sep 17 00:00:00 2001 From: Bernard Siebens Date: Mon, 27 Jul 2026 10:27:13 +0200 Subject: [PATCH] Fix club-metrics test copy after the dashboard relabel "No coach" was renamed to "Teams without coach" and the "Unpaid, by age" card was replaced by the fee-status pie chart; the test still asserted the old strings. --- controlpanel/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controlpanel/tests.py b/controlpanel/tests.py index c7fe062..95e67af 100644 --- a/controlpanel/tests.py +++ b/controlpanel/tests.py @@ -939,9 +939,9 @@ class ClubDetailMetricsTests(ControlPanelTestBase): def test_the_club_page_renders_its_metrics_and_charts(self): response = self.client.get(reverse("controlpanel:club_detail", args=[self.club.pk])) - self.assertContains(response, "No coach") + self.assertContains(response, "Teams without coach") self.assertContains(response, "Unrostered") - self.assertContains(response, "Unpaid, by age") + self.assertContains(response, "Club fee status this season") self.assertContains(response, 'id="fees-chart"') self.assertIn("fees", response.context["charts"])