forked from TrueCloudLab/frostfs-sdk-go
[#54] tests: unify test generator names
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
fa7c01bd0b
commit
3d0df0d068
35 changed files with 113 additions and 113 deletions
|
@ -8,12 +8,12 @@ import (
|
|||
versiontest "github.com/nspcc-dev/neofs-sdk-go/version/test"
|
||||
)
|
||||
|
||||
// Generate returns random audit.Result.
|
||||
func Generate() *audit.Result {
|
||||
// Result returns random audit.Result.
|
||||
func Result() *audit.Result {
|
||||
x := audit.NewResult()
|
||||
|
||||
x.SetVersion(versiontest.Version())
|
||||
x.SetContainerID(cidtest.GenerateID())
|
||||
x.SetContainerID(cidtest.ID())
|
||||
x.SetPublicKey([]byte("key"))
|
||||
x.SetComplete(true)
|
||||
x.SetAuditEpoch(44)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue