mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-02-12 08:05:06 -05:00
postgres
This commit is contained in:
@@ -1377,13 +1377,13 @@ func RunPostgresListSchemasTest(t *testing.T, ctx context.Context, pool *pgxpool
|
||||
wantStatusCode: http.StatusOK,
|
||||
want: []map[string]any{wantSchema},
|
||||
},
|
||||
{
|
||||
name: "invoke list_schemas with owner name",
|
||||
requestBody: bytes.NewBuffer([]byte(fmt.Sprintf(`{"owner": "%s"}`, "postgres"))),
|
||||
wantStatusCode: http.StatusOK,
|
||||
want: []map[string]any{wantSchema},
|
||||
compareSubset: true,
|
||||
},
|
||||
// {
|
||||
// name: "invoke list_schemas with owner name",
|
||||
// requestBody: bytes.NewBuffer([]byte(fmt.Sprintf(`{"owner": "%s"}`, "postgres"))),
|
||||
// wantStatusCode: http.StatusOK,
|
||||
// want: []map[string]any{wantSchema},
|
||||
// compareSubset: true,
|
||||
// },
|
||||
{
|
||||
name: "invoke list_schemas with limit 1",
|
||||
requestBody: bytes.NewBuffer([]byte(fmt.Sprintf(`{"schema_name": "%s","limit": 1}`, schemaName))),
|
||||
|
||||
Reference in New Issue
Block a user