Fix list_triggers integration test

This commit is contained in:
srividyareddy786
2025-12-04 06:37:22 +00:00
parent 7edb194dd4
commit 3b2e29b2c3

View File

@@ -495,7 +495,7 @@ func runAlloyDBListUsersTest(t *testing.T, vars map[string]string) {
name: "list users success",
requestBody: bytes.NewBufferString(fmt.Sprintf(`{"project": "%s", "location": "%s", "cluster": "%s"}`, vars["project"], vars["location"], vars["cluster"])),
wantContains: fmt.Sprintf("projects/%s/locations/%s/clusters/%s/users/%s", vars["project"], vars["location"], vars["cluster"], AlloyDBUser),
wantCount: 3, // NOTE: If users are added or removed in the test project, update the number of users here must be updated for this test to pass
wantCount: 2, // NOTE: If users are added or removed in the test project, update the number of users here must be updated for this test to pass
wantStatusCode: http.StatusOK,
},
{