FIxed test

This commit is contained in:
JKuijperM 2026-01-21 20:11:25 +01:00
parent fc1cf6dae9
commit 60a64b056a

View File

@ -52,7 +52,10 @@ def test_dashboard_groups_by_category(client, django_user_model):
date=date(2024, 1, 3), date=date(2024, 1, 3),
) )
response = client.get(reverse('dashboard')) response = client.get(
reverse('dashboard'),
{'year': 2024}
)
data = list(response.context['by_category']) data = list(response.context['by_category'])