mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-13 00:32:16 -05:00
Fixed tests with appropriate parameters
This commit is contained in:
committed by
Carlo Costino
parent
948bb17a6c
commit
67d38ef32d
@@ -69,7 +69,7 @@ def check_service_over_total_message_limit(key_type, service):
|
||||
def check_application_over_retention_limit(key_type, service):
|
||||
if key_type == KEY_TYPE_TEST or not current_app.config["REDIS_ENABLED"]:
|
||||
return 0
|
||||
total_stats = dao_get_notification_count_for_service(service=service)
|
||||
total_stats = dao_get_notification_count_for_service(service_id=service.id)
|
||||
|
||||
daily_message_limit = current_app.config["DAILY_MESSAGE_LIMIT"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user