diff --git a/data/outport/common_test.go b/data/outport/common_test.go index 0fe18b65..555657ca 100644 --- a/data/outport/common_test.go +++ b/data/outport/common_test.go @@ -55,7 +55,7 @@ func TestGetBody(t *testing.T) { require.Nil(t, receivedBody) require.Equal(t, errNilBodyHandler, err) - body := &block.Body{} + var body data.BodyHandler = &block.Body{} receivedBody, err = GetBody(body) require.Nil(t, err) require.Equal(t, body, receivedBody)