Remove reduntant update call
@@ -99,12 +99,6 @@ func TestUpdateGcpAccount(t *testing.T) {
}
assert.Equal(t, httpresp.StatusCode, 200)
- _, httpresp, err = TESTAPICLIENT.GCPIntegrationApi.UpdateGCPIntegration(TESTAUTH).Body(testGCPUpdateAcct).Execute()
- if err != nil {
- t.Fatalf("Error creating GCP integration: Response %s: %v", err.(datadog.GenericOpenAPIError).Body(), err)
- }
- assert.Equal(t, httpresp.StatusCode, 200)
-
_, httpresp, err = TESTAPICLIENT.GCPIntegrationApi.UpdateGCPIntegration(TESTAUTH).Body(testGCPUpdateAcct).Execute()
if err != nil {
t.Fatalf("Error updating GCP integration: Response %s: %v", err.(datadog.GenericOpenAPIError).Body(), err)
