Skip to content

Commit

Permalink
fix(tests): integration_type type mismatch (#821)
Browse files Browse the repository at this point in the history
  • Loading branch information
byashimov authored Sep 17, 2024
1 parent b4d2b9f commit 3f5a72f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/serviceintegration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func TestServiceIntegrationClickhousePostgreSQL(t *testing.T) {
siAvn, err := avnGen.ServiceIntegrationGet(ctx, cfg.Project, si.Status.ID)
require.NoError(t, err)
assert.Equal(t, "clickhouse_postgresql", siAvn.IntegrationType)
assert.Equal(t, siAvn.IntegrationType, si.Spec.IntegrationType)
assert.EqualValues(t, siAvn.IntegrationType, si.Spec.IntegrationType)
assert.Equal(t, pgName, siAvn.SourceService)
assert.Equal(t, chName, *siAvn.DestService)
assert.True(t, siAvn.Active)
Expand Down Expand Up @@ -143,7 +143,7 @@ func TestServiceIntegrationKafkaLogs(t *testing.T) {
siAvn, err := avnGen.ServiceIntegrationGet(ctx, cfg.Project, si.Status.ID)
require.NoError(t, err)
assert.Equal(t, "kafka_logs", siAvn.IntegrationType)
assert.Equal(t, siAvn.IntegrationType, si.Spec.IntegrationType)
assert.EqualValues(t, siAvn.IntegrationType, si.Spec.IntegrationType)
assert.Equal(t, ksName, siAvn.SourceService)
assert.Equal(t, ksName, *siAvn.DestService)
assert.True(t, siAvn.Active)
Expand Down Expand Up @@ -214,7 +214,7 @@ func TestServiceIntegrationKafkaConnect(t *testing.T) {
siAvn, err := avnGen.ServiceIntegrationGet(ctx, cfg.Project, si.Status.ID)
require.NoError(t, err)
assert.Equal(t, "kafka_connect", siAvn.IntegrationType)
assert.Equal(t, siAvn.IntegrationType, si.Spec.IntegrationType)
assert.EqualValues(t, siAvn.IntegrationType, si.Spec.IntegrationType)
assert.Equal(t, ksName, siAvn.SourceService)
assert.Equal(t, kcName, *siAvn.DestService)
assert.True(t, siAvn.Active)
Expand Down Expand Up @@ -278,7 +278,7 @@ func TestServiceIntegrationDatadog(t *testing.T) {
siAvn, err := avnGen.ServiceIntegrationGet(ctx, cfg.Project, si.Status.ID)
require.NoError(t, err)
assert.Equal(t, "datadog", siAvn.IntegrationType)
assert.Equal(t, siAvn.IntegrationType, si.Spec.IntegrationType)
assert.EqualValues(t, siAvn.IntegrationType, si.Spec.IntegrationType)
assert.True(t, siAvn.Active)
assert.True(t, siAvn.Enabled)

Expand Down

0 comments on commit 3f5a72f

Please sign in to comment.