mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-24 17:31:34 -05:00
Add a new test
This commit is contained in:
@@ -136,7 +136,10 @@ def test_update_service_data_retention_does_not_update_row_if_data_retention_is_
|
||||
|
||||
@pytest.mark.parametrize('notification_type, alternate',
|
||||
[('sms', 'email'),
|
||||
('email', 'sms'), ('letter', 'email')])
|
||||
('email', 'sms'),
|
||||
('letter', 'email'),
|
||||
('letter', 'sms')]
|
||||
)
|
||||
def test_fetch_service_data_retention_by_notification_type(sample_service, notification_type, alternate):
|
||||
data_retention = create_service_data_retention(service_id=sample_service.id, notification_type=notification_type)
|
||||
create_service_data_retention(service_id=sample_service.id, notification_type=alternate)
|
||||
|
||||
Reference in New Issue
Block a user