mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 18:01:08 -05:00
refactor tests
re-order notification dao delete notifications test to move "fixtures" to the top of the file changed create_service_data_retention to take an ORM object, not an id. brings it in line with other db.py test functions
This commit is contained in:
@@ -806,12 +806,12 @@ def ses_notification_callback():
|
||||
|
||||
|
||||
def create_service_data_retention(
|
||||
service_id,
|
||||
service,
|
||||
notification_type='sms',
|
||||
days_of_retention=3
|
||||
):
|
||||
data_retention = insert_service_data_retention(
|
||||
service_id=service_id,
|
||||
service_id=service.id,
|
||||
notification_type=notification_type,
|
||||
days_of_retention=days_of_retention
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user