diff --git a/tests/local_testing/test_pass_through_endpoints.py b/tests/local_testing/test_pass_through_endpoints.py index 68ba62bcbab1..eeb29dea531a 100644 --- a/tests/local_testing/test_pass_through_endpoints.py +++ b/tests/local_testing/test_pass_through_endpoints.py @@ -402,7 +402,9 @@ async def test_aaapass_through_endpoint_pass_through_keys_langfuse( mock_api_key = "sk-my-test-key" cache_value = UserAPIKeyAuth( - token=hash_token(mock_api_key), rpm_limit=rpm_limit + token=hash_token(mock_api_key), + rpm_limit=rpm_limit, + metadata={"allowed_passthrough_routes": ["/api/public/ingestion"]}, ) _cohere_api_key = os.environ.get("COHERE_API_KEY")