add a test in service rest

This commit is contained in:
Kenneth Kehl
2024-10-03 09:59:41 -07:00
parent b0735ffcdc
commit 5277f70660

View File

@@ -1974,9 +1974,8 @@ def test_get_monthly_notification_stats_by_user(
auth_header = create_admin_authorization_header()
response = client.get(
path=(f"/service/{sample_service.id}/notifications/{sample_user.id}/monthly"),
path=(f"/service/{sample_service.id}/notifications/{sample_user.id}/monthly?year=2024"),
headers=[auth_header],
year="2024",
)
resp = json.loads(response.get_data(as_text=True))