Merge pull request #22784 from BerriAI/fix/responses-id-security-test

Fix responses ID security test for new request_cache parameter
This commit is contained in:
Julio Quinteros Pro 2026-03-04 11:34:23 -03:00 committed by GitHub
commit a7e2bc3a92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -545,7 +545,7 @@ class TestAsyncPostCallSuccessHook:
response=mock_response,
)
mock_encrypt.assert_called_once_with(mock_response, mock_user_api_key_dict)
mock_encrypt.assert_called_once_with(mock_response, mock_user_api_key_dict, request_cache=None)
assert result == mock_response
@pytest.mark.asyncio