mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-02-12 08:05:06 -05:00
cloud sql pg
This commit is contained in:
@@ -278,6 +278,8 @@ func TestPreCheckToolEndpoints(t *testing.T) {
|
||||
body: `{"project": "p1", "instance": "instance-notfound", "targetDatabaseVersion": "POSTGRES_18"}`,
|
||||
want: `{"error":"failed to access GCP resource: googleapi: got HTTP response code 403 with body: Not authorized to access instance\n"}`,
|
||||
expectError: true,
|
||||
errorStatus: http.StatusInternalServerError,
|
||||
errorMsg: "failed to access GCP resource: googleapi: got HTTP response code 403",
|
||||
},
|
||||
{
|
||||
name: "missing required parameter - project",
|
||||
|
||||
Reference in New Issue
Block a user