test(proxy): accept project_id in failure-hook update_database mock

This commit is contained in:
Devin AI 2026-07-18 23:55:23 +00:00
parent 227a99cf6b
commit f259054672

View file

@ -770,6 +770,7 @@ async def test_api_key_preserved_through_failure_hook_to_database():
start_time,
end_time,
org_id,
project_id=None,
):
"""Mock update_database and capture the payload it creates"""
from litellm.proxy.spend_tracking.spend_tracking_utils import (