[#1181] Do not use deprecated elements

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2022-03-05 11:49:19 +03:00 committed by LeL
parent e3f4e48d87
commit 323dea95c6
6 changed files with 10 additions and 10 deletions

View file

@ -29,7 +29,7 @@ func TestDB_Lock(t *testing.T) {
object.TypeLock,
object.TypeRegular,
} {
obj := objecttest.Raw()
obj := objecttest.Object()
obj.SetType(typ)
obj.SetContainerID(&cnr)