diff --git a/lib/debezium/types_test.go b/lib/debezium/types_test.go index 8196057fd..3adc9a17a 100644 --- a/lib/debezium/types_test.go +++ b/lib/debezium/types_test.go @@ -174,7 +174,7 @@ func TestField_ParseValue(t *testing.T) { } { // Array - field := Field{Type: Array, ItemsMetadata: Item{DebeziumType: JSON}} + field := Field{Type: Array, ItemsMetadata: &Item{DebeziumType: JSON}} value, err := field.ParseValue([]any{`{"foo": "bar", "foo": "bar"}`, `{"hello": "world"}`}) assert.NoError(t, err) assert.Len(t, value.([]any), 2)