mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-02-12 08:05:06 -05:00
fix cloud sql test
This commit is contained in:
@@ -167,11 +167,10 @@ func TestCreateUsersToolEndpoints(t *testing.T) {
|
||||
want: `{"name":"op2","status":"PENDING"}`,
|
||||
},
|
||||
{
|
||||
name: "missing password for built-in user",
|
||||
toolName: "create-user",
|
||||
body: `{"project": "p1", "instance": "i1", "name": "test-user", "iamUser": false}`,
|
||||
expectError: true,
|
||||
errorStatus: http.StatusBadRequest,
|
||||
name: "missing password for built-in user",
|
||||
toolName: "create-user",
|
||||
body: `{"project": "p1", "instance": "i1", "name": "test-user", "iamUser": false}`,
|
||||
want: `{"error":"missing 'password' parameter for non-IAM user"}`,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user