forked from TrueCloudLab/frostfs-api-go
[#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>
This commit is contained in:
parent
318755e9de
commit
f2c9584fbc
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue