[#54] tests: unify test generator names

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2021-11-12 14:19:16 +03:00 committed by Alex Vanin
parent fa7c01bd0b
commit 3d0df0d068
35 changed files with 113 additions and 113 deletions

View file

@ -17,7 +17,7 @@ func TestTable(t *testing.T) {
var v version.Version
sha := sha256.Sum256([]byte("container id"))
id := cidtest.GenerateIDWithChecksum(sha)
id := cidtest.IDWithChecksum(sha)
v.SetMajor(3)
v.SetMinor(2)
@ -42,7 +42,7 @@ func TestTable(t *testing.T) {
})
t.Run("create table", func(t *testing.T) {
id := cidtest.GenerateID()
id := cidtest.ID()
table := eacl.CreateTable(*id)
require.Equal(t, id, table.CID())
@ -91,7 +91,7 @@ func TestTableEncoding(t *testing.T) {
}
func TestTable_SessionToken(t *testing.T) {
tok := sessiontest.Generate()
tok := sessiontest.Token()
table := eacl.NewTable()
table.SetSessionToken(tok)