add a test in service rest

This commit is contained in:
Kenneth Kehl
2024-10-03 10:22:32 -07:00
parent 6d05c1a18b
commit 1c95cd63e7

View File

@@ -1999,7 +1999,7 @@ def test_get_single_month_notification_stats_by_user(
auth_header = create_admin_authorization_header()
response = client.get(
path=(f"/service/{sample_service.id}/notifications/{sample_user.id}/month/?year=2024&month=07"),
path=(f"/service/{sample_service.id}/notifications/{sample_user.id}/month?year=2024&month=07"),
headers=[auth_header],
)
@@ -2023,7 +2023,7 @@ def test_get_single_month_notification_stats_for_service(
auth_header = create_admin_authorization_header()
response = client.get(
path=(f"/service/{sample_service.id}/notifications/month/?year=2024&month=07"),
path=(f"/service/{sample_service.id}/notifications/month?year=2024&month=07"),
headers=[auth_header],
)