mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-19 05:58:53 -04:00
add a test in service rest
This commit is contained in:
@@ -1999,7 +1999,7 @@ def test_get_single_month_notification_stats_by_user(
|
|||||||
auth_header = create_admin_authorization_header()
|
auth_header = create_admin_authorization_header()
|
||||||
|
|
||||||
response = client.get(
|
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],
|
headers=[auth_header],
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -2023,7 +2023,7 @@ def test_get_single_month_notification_stats_for_service(
|
|||||||
auth_header = create_admin_authorization_header()
|
auth_header = create_admin_authorization_header()
|
||||||
|
|
||||||
response = client.get(
|
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],
|
headers=[auth_header],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user