From f2c9584fbcc1952f9a2f83f4e3abb8b6f25e96fe Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Tue, 8 Jun 2021 15:04:49 +0300 Subject: [PATCH] [#293] pkg/eacl: Do not set token and signature in Table generator These fields aren't part of the message. Signed-off-by: Leonard Lyubich --- pkg/acl/eacl/test/generate.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/acl/eacl/test/generate.go b/pkg/acl/eacl/test/generate.go index ce8c4dd..4eda92a 100644 --- a/pkg/acl/eacl/test/generate.go +++ b/pkg/acl/eacl/test/generate.go @@ -4,7 +4,6 @@ import ( "github.com/nspcc-dev/neofs-api-go/pkg/acl/eacl" cidtest "github.com/nspcc-dev/neofs-api-go/pkg/container/id/test" ownertest "github.com/nspcc-dev/neofs-api-go/pkg/owner/test" - sessiontest "github.com/nspcc-dev/neofs-api-go/pkg/session/test" refstest "github.com/nspcc-dev/neofs-api-go/pkg/test" ) @@ -38,11 +37,9 @@ func Table() *eacl.Table { x := eacl.NewTable() x.SetCID(cidtest.Generate()) - x.SetSessionToken(sessiontest.Generate()) x.AddRecord(Record()) x.AddRecord(Record()) x.SetVersion(*refstest.Version()) - x.SetSignature(refstest.Signature()) return x }