diff --git a/tests/serviceintegration_test.go b/tests/serviceintegration_test.go index 195989ee..16a37d08 100644 --- a/tests/serviceintegration_test.go +++ b/tests/serviceintegration_test.go @@ -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) @@ -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) @@ -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) @@ -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)