forked from TrueCloudLab/frostfs-node
[#979] Upgrade SDK NeoFS Go dependency
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
3fcd7bc948
commit
6f41cd86ed
33 changed files with 57 additions and 57 deletions
|
@ -46,10 +46,10 @@ func TestStickyCheck(t *testing.T) {
|
|||
info.requestRole = eacl.RoleSystem
|
||||
|
||||
info.basicACL.SetSticky()
|
||||
require.True(t, stickyBitCheck(info, ownertest.GenerateID()))
|
||||
require.True(t, stickyBitCheck(info, ownertest.ID()))
|
||||
|
||||
info.basicACL.ResetSticky()
|
||||
require.True(t, stickyBitCheck(info, ownertest.GenerateID()))
|
||||
require.True(t, stickyBitCheck(info, ownertest.ID()))
|
||||
})
|
||||
|
||||
t.Run("owner ID and/or public key emptiness", func(t *testing.T) {
|
||||
|
@ -73,7 +73,7 @@ func TestStickyCheck(t *testing.T) {
|
|||
var ownerID *owner.ID
|
||||
|
||||
if withOwner {
|
||||
ownerID = ownertest.GenerateID()
|
||||
ownerID = ownertest.ID()
|
||||
}
|
||||
|
||||
require.Equal(t, expected, stickyBitCheck(info, ownerID))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue