Skip to content

Commit

Permalink
test(unit): verify integrationType is well map
Browse files Browse the repository at this point in the history
  • Loading branch information
afiune committed Mar 13, 2020
1 parent 185e310 commit 320640f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/integrations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ func TestCreateGCPConfigIntegration(t *testing.T) {
assert.Nil(t, err)

data := api.NewGCPIntegrationData("integration_name", api.GcpProject)
assert.Equal(t, "GCP_CFG", data.Type, "a new GCP integration should match its type")
data.Data.ID = "xxxxxxxxxx"
data.Data.Credentials.ClientId = "xxxxxxxxx"
data.Data.Credentials.ClientEmail = "[email protected]"
Expand Down

0 comments on commit 320640f

Please sign in to comment.