mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-02-11 23:55:07 -05:00
update tools.go generic test
This commit is contained in:
@@ -311,7 +311,7 @@ func RunToolInvokeTest(t *testing.T, select1Want string, options ...InvokeTestOp
|
||||
enabled: true,
|
||||
requestHeader: map[string]string{},
|
||||
requestBody: bytes.NewBuffer([]byte(`{}`)),
|
||||
wantBody: `{"error":"parameter \"name\" is required"}`,
|
||||
wantBody: `{"error":"parameter \"id\" is required"}`,
|
||||
wantStatusCode: http.StatusOK,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user