From 1737f1d95fdc918ef1d7c8a91075fa9f978c37f6 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Tue, 25 Jun 2024 16:12:30 +0300 Subject: [PATCH] [#117] Update tests Signed-off-by: Alex Vanin --- cmd/http-gw/integration_test.go | 1 + internal/handler/frostfs_mock.go | 1 + 2 files changed, 2 insertions(+) diff --git a/cmd/http-gw/integration_test.go b/cmd/http-gw/integration_test.go index cae40a5..e888ed6 100644 --- a/cmd/http-gw/integration_test.go +++ b/cmd/http-gw/integration_test.go @@ -54,6 +54,7 @@ func TestIntegration(t *testing.T) { versions := []string{ "1.2.7", "1.3.0", + "1.5.0", } key, err := keys.NewPrivateKeyFromHex("1dd37fba80fec4e6a6f13fd708d8dcb3b29def768017052f6c930fa1c5d90bbb") require.NoError(t, err) diff --git a/internal/handler/frostfs_mock.go b/internal/handler/frostfs_mock.go index 85ae874..eb59fb6 100644 --- a/internal/handler/frostfs_mock.go +++ b/internal/handler/frostfs_mock.go @@ -93,6 +93,7 @@ func (t *TestFrostFS) ReadObject(_ context.Context, prm PrmObjectRead) (*ObjectP if prm.PayloadRange[0]+prm.PayloadRange[1] > 0 { off := prm.PayloadRange[0] payload = payload[off : off+prm.PayloadRange[1]] + obj = nil // GetRange does not return header values } return &ObjectPart{