FIxed test
This commit is contained in:
parent
fc1cf6dae9
commit
60a64b056a
@ -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'])
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user