Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tests): integration_type type mismatch #821

Merged
merged 1 commit into from
Sep 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading