[#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 <leonard@nspcc.ru>
support/v2.15
Leonard Lyubich 2021-06-08 15:04:49 +03:00 committed by Alex Vanin
parent 318755e9de
commit f2c9584fbc
1 changed files with 0 additions and 3 deletions

View File

@ -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
}