diff --git a/cmd/neofs-rest-gw/integration_test.go b/cmd/neofs-rest-gw/integration_test.go index d324191..638ed35 100644 --- a/cmd/neofs-rest-gw/integration_test.go +++ b/cmd/neofs-rest-gw/integration_test.go @@ -1322,7 +1322,14 @@ func createObject(ctx context.Context, t *testing.T, p *pool.Pool, ownerID *user obj.SetAttributes(attributes...) obj.SetPayload(payload) + info, err := p.NetworkInfo(ctx, client.PrmNetworkInfo{}) + require.NoError(t, err) + var opts slicer.Options + if !info.HomomorphicHashingDisabled() { + opts.CalculateHomomorphicChecksum() + } + objID, err := slicer.Put(ctx, p, obj, signer, bytes.NewReader(payload), opts) require.NoError(t, err)