mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-27 10:51:40 -05:00
Actually test the right thing :)
This commit is contained in:
@@ -473,7 +473,10 @@ def test_fetch_monthly_template_usage_for_service_does_not_include_test_notifica
|
||||
notification_status='delivered',
|
||||
key_type='test',
|
||||
count=15)
|
||||
create_notification(template=sample_template, created_at=datetime.utcnow(), status='cancelled')
|
||||
create_notification(template=sample_template,
|
||||
created_at=datetime.utcnow(),
|
||||
status='delivered',
|
||||
key_type='test',)
|
||||
results = fetch_monthly_template_usage_for_service(
|
||||
datetime(2018, 1, 1), datetime(2018, 3, 31), sample_template.service_id
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user