From 21ac161b21c759e624a3ca07533f9eb426d34347 Mon Sep 17 00:00:00 2001 From: hkfires <10558748+hkfires@users.noreply.github.com> Date: Mon, 12 Jan 2026 16:33:43 +0800 Subject: [PATCH] fix(test): implement missing HttpRequest method in stream bootstrap mock --- sdk/api/handlers/handlers_stream_bootstrap_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sdk/api/handlers/handlers_stream_bootstrap_test.go b/sdk/api/handlers/handlers_stream_bootstrap_test.go index f8ce6aea..3851746d 100644 --- a/sdk/api/handlers/handlers_stream_bootstrap_test.go +++ b/sdk/api/handlers/handlers_stream_bootstrap_test.go @@ -56,6 +56,14 @@ func (e *failOnceStreamExecutor) CountTokens(context.Context, *coreauth.Auth, co return coreexecutor.Response{}, &coreauth.Error{Code: "not_implemented", Message: "CountTokens not implemented"} } +func (e *failOnceStreamExecutor) HttpRequest(ctx context.Context, auth *coreauth.Auth, req *http.Request) (*http.Response, error) { + return nil, &coreauth.Error{ + Code: "not_implemented", + Message: "HttpRequest not implemented", + HTTPStatus: http.StatusNotImplemented, + } +} + func (e *failOnceStreamExecutor) Calls() int { e.mu.Lock() defer e.mu.Unlock()