update comments for customizable period

This commit is contained in:
stvnrlly
2023-03-16 13:31:17 -04:00
parent 3d9e499696
commit 7e8b7a1d8f
2 changed files with 2 additions and 2 deletions

View File

@@ -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))

View File

@@ -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))