mirror of
https://github.com/GSA/notifications-api.git
synced 2026-07-30 19:28:50 -04:00
update comments for customizable period
This commit is contained in:
@@ -287,7 +287,7 @@ def test_delete_notifications_task_calls_task_for_services_that_have_sent_notifi
|
||||
nothing_to_delete_sms_template = create_template(service_nothing_to_delete, template_type='sms')
|
||||
nothing_to_delete_email_template = create_template(service_nothing_to_delete, template_type='email')
|
||||
|
||||
# will be deleted as service has no custom retention, but past our default 7 days
|
||||
# will be deleted as service has no custom retention, but past our default retention period
|
||||
create_notification(service_will_delete_1.templates[0], created_at=datetime.now() - timedelta(days=8))
|
||||
create_notification(service_will_delete_2.templates[0], created_at=datetime.now() - timedelta(days=8))
|
||||
|
||||
|
||||
@@ -96,7 +96,7 @@ def test_post_to_get_inbound_sms_allows_badly_formatted_number(admin_request, sa
|
||||
|
||||
|
||||
@freeze_time('Monday 10th April 2017 12:00')
|
||||
def test_post_to_get_most_recent_inbound_sms_for_service_limits_to_a_week(admin_request, sample_service):
|
||||
def test_post_to_get_most_recent_inbound_sms_for_service_limits_to_retention_period(admin_request, sample_service):
|
||||
create_inbound_sms(sample_service, created_at=datetime(2017, 4, 3, 3, 59))
|
||||
returned_inbound = create_inbound_sms(sample_service, created_at=datetime(2017, 4, 3, 4, 30))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user