diff --git a/datacatalog/pkg/repositories/transformers/artifact_test.go b/datacatalog/pkg/repositories/transformers/artifact_test.go index 633ec9175a8..350a2396aa8 100644 --- a/datacatalog/pkg/repositories/transformers/artifact_test.go +++ b/datacatalog/pkg/repositories/transformers/artifact_test.go @@ -12,6 +12,12 @@ import ( "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/datacatalog" ) +func TestSerializedMetadata(t *testing.T) { + serializedMetadata, err := SerializedMetadata(metadata) + assert.IsType(t, []byte{}, serializedMetadata) + assert.NoError(t, err) +} + func getTestArtifactData() []*datacatalog.ArtifactData { testInteger := &core.Literal{ Value: &core.Literal_Scalar{